-
Notifications
You must be signed in to change notification settings - Fork 83
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
Test Mint and Burn #1010
base: main
Are you sure you want to change the base?
Test Mint and Burn #1010
Conversation
We all try to stick to this commit message standard (roughly) |
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.
When I run
RUST_LOG=info CELESTIA_LOG_LEVEL=FATAL CARGO_PROFILE=release CARGO_PROFILE_FLAGS=--release nix develop --extra-experimental-features nix-command --extra-experimental-features flakes --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-lock-mint --keep-tui"
I get
Error: Failed to create dead account
caused by
API error Error(VmError): Invalid transaction: Type: Validation Code: SEQUENCE_NUMBER_TOO_OLD
![image](https://private-user-images.githubusercontent.com/17599867/406671280-ffc79e45-94da-4892-9a70-6a70d26e09ed.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODIyOTksIm5iZiI6MTczOTM4MTk5OSwicGF0aCI6Ii8xNzU5OTg2Ny80MDY2NzEyODAtZmZjNzllNDUtOTRkYS00ODkyLTlhNzAtNmE3MGQyNmUwOWVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE3Mzk1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc0MDNhZGI2OWFlNjhiNzg3Yjk1NmQwZjNjZDlmYWRjODExMWQyOWQ0YjcxZTlhYjhlN2E1NGE0NWUxYjRkM2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZNGt5NfUlgZi-Zqg6vN2GeHYeWviU6wQFHf44ZqB8G0)
@andygolay please clear .movement/ before every run. Updated command to do it before hand |
As far I can see there is no |
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.
Thanks for this. Remove all println!s for tracing::info
. Cleanup imports, use tree style imports. The comments you've written right at the bottom are correct but lets remove the comment from the SC. Rename the test to mint_burn.rs
and any associated process_compose naming and cmd / pkgs.
Thanks!
Merge conflicts will auto-resolve after:
|
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.
LGTM
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.
Added one change suggestion, to assert dead address balance is 0 at the end.
Even when I remove
Wrong increment? |
Is there a new dependent PR in aptos-core that contains the mint_to function? O |
Same branch and PR add_burn_from |
PR number or link? |
Ok this is ready to go in can you fix the merge conflicts and add this test to the |
Will pull again. |
Summary
protocol-units
,networks
,scripts
,util
,cicd
, ormisc
.#1009
Burn elsa's supply.
Changelog
moved away from native_bridge integration to e2e testing
added burn_from and mint_to methods gated to framework signer
Testing
networks/movement/movement-client/src/bin/e2e/lock_mint.rs
rm -rf .movement/ && RUST_LOG=info CELESTIA_LOG_LEVEL=FATAL CARGO_PROFILE=release CARGO_PROFILE_FLAGS=--release nix develop --extra-experimental-features nix-command --extra-experimental-features flakes --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-mint-burn --keep-tui"
Outstanding issues
We might need to add a burn_from entry function on the core_resources_account.