Don't add today's totals to the warm cache, otherwise incomplete totals may
exist for today's date in the cache tomorrow. Only adding the totals to the
warm cache for yesterday or older fixes this.
The current guardian set index is 2, so the `guardiand` template command
should generate prototxt files accordingly.
Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
* bridge_ui: changed formatting for token picker
* bridge_ui: remove BigNumber import
* bridge_ui: add back >8 chars balance case
* bridge_ui: fix unit test
2) Add tests for payload3
3) Change the contract API for payload3 so that the destination is the appId instead of the app address
and no longer part of the data
4) add a testApp into devnet
The integration tests were previously just copied over from the
token-bridge directory and not changed at all (they still referenced the
token-bridge crate).
Clean up the files and add tests for basic functionality like sending
and receiving native + wrapped NFTs.
Refactor the solana Dockerfile so that the solana release installation
is a separate stage and have the builder stage derive from it. Add a
new "ci_tests" stage that also derives from the solana stage but runs
the integration tests instead.
Invoke the solana ci_tests stage from the Tiltfile when ci_tests are
enabled.
Fix all the tests for the solana bridge program so that we can start
running it in CI.
Use the `solana-program-test` crate as the test framework. Previously,
running the tests required spinning up a test validator and manually
deploying the program there. Now developers can just do `cargo test-bpf`
to run the tests without needing any additional setup (beyond installing
the solana tools). This also lets us split out the tests so that they
can be run separately rather than having to run everything sequentially
in a single integration test.
* sdk/js: improve type safety + add documentation
* sdk/js: add support for chain names
* sdk/js: fix boolean conditional bug in transferFromSolana
* sdk/js: remove unsafe ChainId coercions in sdk
* sdk/js: Chain id 0
This is a legit chain id that some governance VAAs target
* sdk/js: Add mainnet and testnet contract addresses
* sdk/js: bump version to 0.3.0
* sdk/js: limit minor version changes
* sdk/js: update contracts and add devnet
Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
* algo/tests: enable relayer test
* algo/tests: increase timeout
* algo/tests: split tests into unit and integration
* algo/tests: move tests around
* algo/tests: remove file
* algo/tests: make it not optimize in dev mode @ gusc1a-ossdev-jsl5
* algo/tests: another test fix @ gusc1a-ossdev-jsl5
Co-authored-by: Josh Siegel <jsiegel@jumptrading.com>