T3060
Correct import for aliasConstants
Differential D14086
[alias-server] Update aliasConstants import in index.js bytesofman on Jun 19 2023, 23:11. Authored by
Details
T3060 Correct import for aliasConstants npm test node index.js and app boots up locally
Diff Detail
Event TimelineComment Actions 2 tests failing for me Also on app startup it seems to timeout when calling isFinalBlock. I've pointed it at my avalanche node and manual curls work fine but not through this app. Comment Actions FYI - in secrets.js the rpc port is specified as part of avalancheRpc.url. Let me know if it shouldn't be in there. Comment Actions check node version for the unit tests, they are passing on my machine and CI does curl work with isFinalBlock ? Comment Actions node version is v16.20.0 edit: ok I think I've worked out why - the app's index.js is looking for ./secrets whereas mainTests.js is looking for ../secrets.sample Comment Actions ok yeah. taking a look at the README, there's a lot of updating and documentation that needs to be changed. I'll do this in a separate diff. For now, cp secrets.sample.js secrets.js then update with your parameters and node index.js |