Closed Ansonhkg closed 2 months ago
Looks like our tests are failing to stand up with the following error:
Error: No RPC URL found for network "cayenne". Available networks are: localchain, manzano, datil-dev
[41](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:42)
at new TinnyEnvironment (file:///home/runner/work/js-sdk/js-sdk/local-tests/build/test.mjs:83469:13)
[42](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:43)
at file:///home/runner/work/js-sdk/js-sdk/local-tests/build/test.mjs:89002:18
[43](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:44)
at file:///home/runner/work/js-sdk/js-sdk/local-tests/build/test.mjs:89148:3
[44](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:45)
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
[45](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:46)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
[46](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:47)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Seems to be missing npc context for the cayenne
network? Also wondering if for the short time we are still running tests on deployed networks if we should switch over to datil-dev
?
Looks like our tests are failing to stand up with the following error:
Error: No RPC URL found for network "cayenne". Available networks are: localchain, manzano, datil-dev [41](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:42) at new TinnyEnvironment (file:///home/runner/work/js-sdk/js-sdk/local-tests/build/test.mjs:83469:13) [42](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:43) at file:///home/runner/work/js-sdk/js-sdk/local-tests/build/test.mjs:89002:18 [43](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:44) at file:///home/runner/work/js-sdk/js-sdk/local-tests/build/test.mjs:89148:3 [44](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:45) at ModuleJob.run (node:internal/modules/esm/module_job:222:25) [45](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:46) at async ModuleLoader.import (node:internal/modules/esm/loader:316:24) [46](https://github.com/LIT-Protocol/js-sdk/actions/runs/9719189736/job/26828528874?pr=515#step:6:47) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Seems to be missing npc context for the
cayenne
network? Also wondering if for the short time we are still running tests on deployed networks if we should switch over todatil-dev
?
How much of a lift will it be to switch the CI tests over to Datil-dev? We should also be mindful that we're gonna use Tinny soon in the CI so maybe this switching to Datil-dev may be a wasted effort for? @joshLong145 @Ansonhkg
Pushed commits to resolve a couple of issues:
cayenne
again π Chronicle
; it had become Chronical
in the new codegasLimit
on our contracts-sdk calls to a value that appears to be high enough to work on Vesuvius, but low enough that it doesn't exceed the per-block gas limit on Chronicle.I think this is shippable now :+1: Given Cayenne
and Manzano
are still functional, ideally we would add GH jobs that run our tests against them -- but Chronicle is so unstable that I am having difficulty running the entire suite against it at all, so maybe moving it to run against datil-dev
instead makes the most sense.
Changelog
π Features
π Bug Fixes
switchWallet
when minting capacity delegation authsigπ Documentation
βοΈ Miscellaneous Tasks
testLIT
typoDev
Description
Installation
or
Using the
datil-dev
networkTest command:
βοΈβοΈNote: I'm failing to run the tests in parallel right now, but they work when running individually. I added aCHUNK_SIZE
feature which would run parallel execution in chunks and I thought that would fix it, but it seems like it might be RPC rate limit issue instead of nonce? not sure.. still to be investigated...βοΈβοΈUPDATE: contract calls still being reverted, but if gasLimit is set to 5 mil, then parallel executions work fine
Related PRs: