-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CI for testnode that starts up nitro test node and rans l2 transa… #38
Conversation
test-node.bash
Outdated
@@ -38,6 +38,7 @@ l3_token_bridge=false | |||
batchposters=1 | |||
devprivkey=b6b15c8cb491557369f3c7d2c287b053eb229daa9c22138887752191c9520659 | |||
l1chainid=1337 | |||
runL2Txs=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer not to add options here if we can avoid it.. already messy enough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
.github/workflows/testnode.bash
Outdated
# The script starts up the test node (with timeout 1 minute), with option to | ||
# run l2 transactions to make sure node is working | ||
|
||
timeout 60 ${{ github.workspace }}/nitro-testnode/test-node.bash --init --dev || exit_status=$? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't use runl2Txs
Also - better if we can have all relevant logic here.
you can:
- add --detach when first callinf test-node
- wait for a little with sleep
- call e.g. test-node.sh script send-l2 --ethamount 100 --to user_l2user --wait
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Moved this to new pull request |
…ners Add CODEOWNERS
…ctions