Commit Graph

422 Commits

Author SHA1 Message Date
bruce-riley 3ba2a46671
CCQ/Node/EVM: Cache timestamps (#3491)
* NODE/EVM: Cache timestamps

* Code review rework

* Code review rework
2023-11-08 16:21:30 -06:00
bruce-riley 0a89e23589
Deploy scroll to testnet (#3429)
* Deploy scroll to testnet

* Don't allow scroll in mainnet

* Add scroll to ccq, use batch poller
2023-11-08 14:14:47 -06:00
Evan Gray d5cd42f05f sdk/js-query: add mock 2023-11-08 13:52:26 -05:00
bruce-riley 0da1f37874
CCQ: Query server metrics (#3503)
* CCQ: Query server metrics

* Fix readiness port

* Fix readiness

* Fix testing script
2023-11-08 11:22:34 -06:00
M-Picco 61f34510f8 Add new chain id for Celestia 2023-11-01 22:05:59 -04:00
Evan Gray 70ae80ac83 sdk/js-query: package bump 2023-11-01 10:47:57 -04:00
Evan Gray 1a378c31f8 ci: rely on jest timeout for vaa retry 2023-10-31 16:26:16 -04:00
Evan Gray b13ec6a9ab sdk/js/relayer: tests respect num_guardians 2023-10-31 13:01:02 -04:00
derpy-duck bb6892dfe3
correct urls (#3474) 2023-10-30 15:37:33 -04:00
derpy-duck ae1e4b32e3
base is domain 6 (#3471)
* base is domain 6

* explicit CCTP domain to name mapping
2023-10-30 14:25:40 -04:00
bruce-riley b708f5ac5b
CCQ: eth_call_with_finality (#3460)
* CCQ: eth_call_with_finality

* Attempt to fix tilt error
2023-10-30 11:13:03 -05:00
Evan Gray e3471a952e sdk/ccq: refine dependencies 2023-10-23 15:43:21 -04:00
Ben Guidarelli c682706ccd
SDK: write to the correct index (#3454) 2023-10-20 14:28:22 -04:00
bruce-riley d2db1616c5
CCQ: eth_call_by_timestamp (#3449)
* CCQ: eth_call_by_timestamp

* CI: add CCQ sdk tests

* SDK test changes

* Add block parsing tests

* Code review rework

* More code review rework

* More rework

* Allow two blocks to have the same timestamps

* Restore timestamp check

* Restore timestamp check

* Minor code rework

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2023-10-19 10:32:23 -05:00
Kevin Peters b53f9968ad sdk/js: v0.10.5 release 2023-10-16 10:12:09 -05:00
Kevin Peters 5c4ac61f79 sdk/js-query: Generate declaration files 2023-10-13 18:08:59 -04:00
bruce-riley 0cac01a739
CCQ: Server should check api key first (#3443)
* CCQ: Server should check api key first

* Add integration tests
2023-10-13 17:04:43 -05:00
derpy-duck 4e588fe119
sdk: prettier (#3445) 2023-10-13 16:00:56 -04:00
bruce-riley e0606497e0
CCQ: Query SDK (#3421)
* CCQ: Query SDK

* CCQ: TS SDK fixes

---------

Co-authored-by: Kevin Peters <kevin@w7.xyz>
2023-10-13 14:32:01 -05:00
derpy-duck 9aa4d0329d
SDK: Auto relayer better status command (#3406)
* update clients.js version

* updates to clients/js

* update clients/js

* Generate modification

* prettier

* status change

* docs change

* add back the 'impossible's

* update sdk version

* better status check WIP

* WIP

* Improved status check and stringify function with times

* improvements to status printing

* prettier format

* Remove last console log

* prettier

* readme modify

* readme fix

* Readme fix

* readme changes

* don't rely on wormscan for status in devnet

* prettier

* Remove status check from integration testing - this is a helper that shouldn't interfere with contract testing

* prettier

* update clients.js version

* readme revert changes

* base default rpcs

* script improvements

* Add manual delivery helper

* remove console logs

* arbitrum needs a custom block range

* fix bug in testing if blocknumber is 0

* deliver fixes for manual delivery

* prettier

* fix default block tag

* pre-pend scripts with test

* review comments
2023-10-13 15:25:31 -04:00
Csongor Kiss 3adce639fa
aptos: tooling for mainnet upgrades (#3338)
* aptos: update upgrade script to support mainnet

Also factor out named_addresses into a separate helper script

* scripts: aptos support for gov proposal generation

* sdk/js: add aptos nft_bridge mainnet address
2023-09-29 11:11:43 -04:00
Kevin Peters 745cbe71a3 sdk/js: v0.10.4 release 2023-09-28 13:21:27 -05:00
Kevin Peters 20aea2ebcf sdk/js: Redeem on Algorand dynamic cost budget fix
Addresses #2345
2023-09-28 08:40:59 -04:00
scnale 11a82aee56
sdk/js: fixes id check in token helper for sui. (#3382) 2023-09-28 08:40:43 -04:00
derpy-duck faa397ca4f
AutoRelayer: v1.1 Release (#3313)
* AutoRelayer: remove forwards

* AutoRelayer: reentrancy guard

* AutoRelayer: remove forwards from sdk

* AutoRelayer: VaaKey -> MessageKey internals

* AutoRelayer: check delivery provider supports keyType

* AutoRelayer: VaaKey backcompat wire format

* AutoRelayer: sdk fix

* AutoRelayer: Add supported keys to delivery provider

* AutoRelayer: reintroduce reentrancy guard, revert when replay protection triggered

* AutoRelayer: fix manual delivery test

* AutoRelayer: review flups

* AutoRelayer: move libraries within relayer folder

* AutoRelayer: fix delivery provider config script

Also fix delivery provider revert bug

* AutoRelayer: Andreas code review flups

* AutoRelayer: js sdk includes MessageKey serde

* AutoRelayer: update sdk to use message key

* AutoRelayer: Simplify executeInstruction to internal call (#3352)

* refund instead of revert for replay protection (#3371)

* refund instead of revert for replay protection

* Remove mention of forward from IWormholeReceiver

* AutoRelayer: 1.1 reintroduce forwards (#3385)

* forward fallback WIP

* forward fallback no tmp storage

* Re-introduce testing of 'forward'

* Reintroduce forwards with original or default behavior for refund info + delivery provider info

* Reintroduce reentrant, only store refund information

---------

Co-authored-by: Joe Howarth <josephehowarth@gmail.com>
Co-authored-by: Joe Howarth <jhowarth@jumptrading.com>
2023-09-22 15:07:59 -04:00
M-Picco bb8873ffea Add Kujira chain id 2023-09-15 12:40:42 -04:00
bruce-riley ac11e15746
Node/SDK: Set testnet wormchain token bridge addr (#3372) 2023-09-12 08:29:18 -05:00
Martin Picco e8266174e7
sdk/js: add cosmoshub and evmos chain ids (#3317) 2023-09-11 19:18:13 -04:00
bruce-riley c1ff1e1d1c
Node/Gateway: Relay attestations (#3350) 2023-09-07 14:11:15 -05:00
derpy-duck 5457e7ff98
bugfix (#3319) 2023-09-05 12:19:09 -07:00
Paul Noel ede5c5bc1e sdk/js: change sei array conversion 2023-09-05 10:59:34 -05:00
Evan Gray 6f7b2ffdb7 sdk/js: version bump to resolve conflict 2023-08-28 12:32:19 -04:00
Kevin Peters cdbc8da028 sdk/js: v0.10.0 release 2023-08-28 10:48:22 -04:00
Kevin Peters 04b7afeb62 sdk/js: Aptos transfer with payload support 2023-08-28 10:48:22 -04:00
Kevin Peters a9ea12c071 sdk/js: v0.9.24 release 2023-08-25 13:16:02 -05:00
Kevin Peters 93122bca88 sdk/js: Added transfer with payload from Sui 2023-08-25 13:16:02 -05:00
bruce-riley 153ee5514c
Node/Gateway: Watcher shouldn't drop recv_packet (#3304) 2023-08-21 16:46:01 -05:00
Steve 6b3819cc41
wormchain: add upgrade vaa and upgrade handler. Removes set params vaa. (#3292)
* Add chain upgrade vaa and upgrade handler. Removes set params vaa.

* Update node package

* Fix vaa payload test
2023-08-16 20:24:57 -04:00
Nikhil Suri 6aa80d459c
wormchain: setparams gov vaa (#3285)
* node: add new governance VAA for setting default tokenfactory and packet forward middleware params on Gateway

* wormchain: add msg_server handler to set default tokenfactory and pfm params

* node: add gateway template command

* node: fix lint errors

* Update goverance message to be generic

* x/wormhole: add RunInPlaceUpgrade tx cli command

* Merge gateway governance VAAs into a single rpc handler

* update admin client naming for gateway governance messages
2023-08-14 20:37:50 -04:00
bruce-riley 1cabbe8a2d
sdk: Rootstock readonly (#3235) 2023-08-14 13:17:47 -04:00
bruce-riley 86e905e1e8
node: Gateway watcher support (#3275)
* Gateway/Node: Watcher support

* Fix prettier error

* Work around duplicate VAA error
2023-08-14 11:13:20 -04:00
Steve 3337783c6d
wormchain: add ibc-composability-mw to gateway (#3273)
* Add ibc-composability-mw to gateway along with updates to node for
ibc-composability-mw and ibc-translator.

* Move governance action to new GatewayModule

---------

Co-authored-by: Nikhil Suri <nikhilsuri@comcast.net>
2023-08-14 10:49:02 -04:00
Paul Noel 826c9939d1 sdk/js: add circleIntegration parsing 2023-08-14 10:45:51 -04:00
Kevin Peters 8e5807bdea sdk/js: v0.9.23 release 2023-08-10 10:10:17 -04:00
Steve 821a6e8752
Add ibc-translator contract to the cosmwasm workspace and it's governance packet to the rust sdk. (#3174)
* Add ibc-translator contract and it's governance packet to the rust sdk.

* Remove unnecessary cargo script

* rustfmt and clippy fixes

* Address review comments

* Use WormholeQuery instead of contract to verify vaa, remove wormhole
core contract dependency, remove feature flag on anybuf.

* Add cw20 token metadata to tokenfactory metadata

* Change Simple/ContractControlled payloads to
GatewayTransfer/GatewayTransferWithPayload

* Change display and scaled denom to ensure x/bank conformance.
2023-08-10 07:08:22 -07:00
derpy-duck 89e97fc366 sdk changes 2023-08-09 18:24:55 -05:00
Nikhil Suri aa44e82f7c
Instantiate allowlist (#3181)
* sdk: add wormchain instantiate allowlist governance VAA

* wormchain: add wasm instantiate allowlist msg handler

* Add cli for instantiate allowlist (#3199)

* Add cli for instantiate allowlist and fix
vaa.BodyWormchainAllowlistInstantiateContract deserialization

* Lint fixes

* Add instantiate allowlist to codec and genesis

* Add MsgDeleteWasmInstantiateAllowlist, update naming to be consistent across all types

* Fix key prefix for GetAllWasmInstiateAllowedAddresses

* Update wasmd tag version

* Fix 5 bit encoding bug

* Add query cli and rpc handler

* Add query cli and rpc files

* use cosmos-sdk method for computing bech32

---------

Co-authored-by: Steve <1848680+misko9@users.noreply.github.com>
2023-08-07 11:18:40 -07:00
Ben Guidarelli 155d206322
SDK: fix chain id/name types (#3250) 2023-08-04 12:57:43 -04:00
Ben Guidarelli 544d542c6e
SDK: remove semicolon in event definition (#3249) 2023-08-02 16:44:44 -04:00
derpy-duck f11299b888
SDK: const update (#3242) 2023-07-28 12:36:09 -04:00