* refactor(substreams): add `rust-toolchain` to the templates and modules.
This freezes the wasm output for each module, allowing us to have full control over each packages and when we break the modules hashes.
* fix(testing): allow no `initialized_accounts` in tests
---------
Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
* feat: import to tycho simulation initialized accounts defined on yaml file
* feat: update tycho-simulation dep, black formatting
* feat: Add additional logging to test runner
* feat: Fail test if expected component fails to get decoded
* feat: Warn if initialized contracts are not specified on ProtocolComponent contracts
* chore(lib): update testing suite with new naming
* refactor(curve): remove metapool
These pools aren't compatible yet due to how they are created (first the lp token and then later the pool). We will need DCI to handle this properly.
* chore(lib): use correct package name for tycho-simulation
---------
Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
Includes bugfix on `tycho-indexer-client` and `protosim_py`, a script to simplify setting up testing python env and cli improvements. Also add support for building runtime for SwapAdapters with many args that was bugged before.
Add a way to pull stateless contracts code from node, add more settings to test_assets.yaml, add logic to allow dynamic stateless contract by calling another contract
Manually inserted contracts do not have balances attached to them so this would lead to 500 errors on the tycho side. With balances disabled, things work fine now.
Simplifies a lot the setup of testing:
- Looks up tycho-indexer under the usual paths no OS specific naming necessary.
- Simply assumes that protosim can be pulled from our private PyPi
- Navigates the foundry out folder to find solidity runtime binaries
Includes some additional fixes to deal with some attribtues that may have to be reflected to defibot later on.