-
Notifications
You must be signed in to change notification settings - Fork 18
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
Silo to silo transfers #225
Conversation
* integration test fro silo to silo * add aurora-sdk-integartion-test * split functions * add module * change balance * remove debug println * fmt * silo to engine transfer * withdraw test * fix withdraw * refactoring * check access controll * check if token is register * test error on withdraw from near * fix dependency * fix String to Uint * CI: add `silo-to-silo` tests * Silo2Silo: fix tests * CI; replace `true` with `recursive` * Update `.gitignore` * CI: try to fix path issue * CI: check submodule dir is exist * CI: install Foundry * Add yarn the command `test-token-silo-to-silo` * CI: call `prepare` * CI: add toolchain to `mock_token` * CI: add `actions-rs` * Ci: run `silo-to-silo` tests on ubuntu * CI: disable building from test * CI: add `add wasm32-unknown-unknown` command * CI: move down ` add wasm32-unknown-unknown` * CI: re-enable tests * CI: run tests in parallel * Apply `cargo fmt` * CI: use `self-hosted` * Ignore test `error_on_withdraw_to_near` --------- Co-authored-by: karim-en <[email protected]>
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.
There are many functions that accept an optional parameter but later have a default value in case the parameter is None
. This makes reading and verifying the tests really hard, as you always need to remember the order of helper function args and what will be the default value in each case. Please avoid using default values, or at least specify them externally (or accept the arguments to the helper function as a structure).
Co-authored-by: Kirill <[email protected]>
* storage deposit outside contract test * long msg test * remove unused import * fix tests * fix tests * test transfer eth * test send eth back * eth withdraw test
* scripts for interactions * ft_transfer_call * Delete silo-to-silo/.openzeppelin/unknown-1313161554.json --------- Co-authored-by: Karim <[email protected]>
The PR implements a contract to make silo to silo transfers of the ERC20 tokens that are bridged from near.
The main public functions to interact with the contract:
To deploy the contract on testnet run:
To upgrade the contract on testnet run: