Commit Graph

345 Commits

Author SHA1 Message Date
Jonathan Claudius c5523d39fc
sdk: Add unit-testing and fuzz-testing for leftpadbytes (#2997) 2023-05-30 16:48:17 -04:00
Jonathan Claudius 703fbe32c7
sdk: add CalculateQuorum documentation and fuzz testing (#2996)
* sdk: Add fuzz testing and documentation for CalculateQuorum

* Use testify assertions instead of stdlib

* sdk: move unit and fuzz run into one line

* sdk: use better testify function for zero check

* sdk: drop unnecessary format string assertions

* sdk: remove obviously ignored test corpus items
2023-05-30 16:46:51 -04:00
bruce-riley 1514d7cd79
Scripts: For upgrading testnet (#2984) 2023-05-26 08:29:14 -05:00
Kevin Peters 0cff646fed sdk/js: injective parseSmartContractStateResponse fix 2023-05-24 13:05:28 -05:00
bruce-riley f5b96ecb4e
Node/SDK: Mainnet Sei deploy (#2969)
Change-Id: I18491c36963e44791c688d1b14fb2c8062eb6544
2023-05-23 17:14:26 -05:00
Nikhil Suri f6f93bf35e
tilt: devnet deployment for ibc generic messaging (#2593)
* Tilt devnet deployment for ibc generic messaging

* Address review comments from kcsongor and hendrikhofstadt

* Add IBC channel whitelist updates to wormchain and terra devnet deploy scripts

* VAAs had guardian set index three instead of zero

* ci: update addresses

* Remove message.block_height and message.tx_index from attributes

* Remove unnecessary contracts from terra2 devnet deployment

* Update wormhole-ibc address on terra2

* Update wormhole-ibc guardian set on terra2 devnet deployment

* IBC relayer testnet deployment fixes

* Wormchain update whitelist fix

---------

Co-authored-by: Bruce Riley <briley@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2023-05-18 18:56:18 -04:00
heyitaki b114875528 sdk/js: bump to 0.9.17 2023-05-17 12:19:15 -07:00
heyitaki 7608b2b740 sdk/js: normalize all sui addresses and types being compared 2023-05-17 12:19:15 -07:00
gator-boi d7e9a0b2dd sui: update testnet Sui addresses 2023-05-17 12:26:00 -04:00
A5 Pickle 6f8c8430ac
solana: fix token metadata program interaction (#2913)
* testing: fix pubkey caused by 0b0b9cea70

* solana: fix token-metadata forked dependency

* sdk/js: fix tokenMetadata and Solana IDLs

* testing: fix tests; add token-metadata dependency

---------

Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
2023-05-15 20:55:03 +01:00
Nikhil Suri ee7d0765f9
sdk: add new governance VAA for IbcReceiverUpdateChainConnection (#2590)
* sdk: add new governance VAA for IbcReceiverUpdateChainConnection

* Enforce connectionId to be 64 bytes, add tests in rust sdk

* Update PrependBufferBytesFixed to LeftPadBytes, add template function + command for IBC governance VAA

* Add >64 length check for ibcReceiverUpdateChainConnectionConnectionId in runIbcReceiverUpdateChainConnectionTemplate command

* Update naming of governance VAA to reflect new mapping of channelId -> chainId

* Add TargetChainID to admin commands

* Node: Add IBC update channel to admin verify cmd

---------

Co-authored-by: Bruce Riley <briley@jumptrading.com>
2023-05-12 06:11:21 -04:00
Jonathan Claudius df796930b1
sdk: add FuzzUnmarshalBigPayload (#2893) 2023-05-12 06:02:43 -04:00
tbjump d9d5481092 node: update golang to 1.20 from 1.19 2023-05-12 05:59:53 -04:00
Nikhil Suri 96682bdbeb
sdk: rust: add Sei, Btc, and Base chains and change Ropsten to Sepolia (#2851) 2023-05-10 08:28:54 -07:00
Jonathan Claudius 6ac2444172
sdk: assert no negative numGuardians in quorum calculation (#2892)
* sdk: assert no negative numGuardians in quorum calculation

* sdk: fix formating on quorum tests
2023-05-09 08:45:10 -07:00
tbjump c24fff4d2d sdk: fix linter warnings 2023-05-05 07:13:40 -07:00
A5 Pickle d99a0d8ee8 sdk/js: fix `publishTokenBridgeUpgradeContract` 2023-05-03 14:57:45 -04:00
A5 Pickle 0b0b9cea70 sdk/js: fix `publishAttestMeta` in mock 2023-05-03 14:57:45 -04:00
Evan Gray d050ad1d67 sdk/js: sui support posting VAAs over 1024 2023-05-02 22:05:33 -04:00
Evan Gray 39369d3d2b sdk/js: version bump 2023-05-02 22:05:33 -04:00
heyitaki 412680fba5 sui: update devnet addresses 2023-05-02 15:14:23 -04:00
Kevin Peters 6a1bb7bc78 sdk/js: sui get latest package from CurrentPackage 2023-05-02 15:14:23 -04:00
heyitaki ed733f8e73 sdk/js: add Sui support
Co-authored-by: Evan Gray <battledingo@gmail.com>
Co-authored-by: Kevin Peters <kpeters@jumptrading.com>
2023-05-02 15:14:23 -04:00
bruce-riley 67c7c86419
Node: Add Sui mainnet support (#2826)
Change-Id: I6ea3e345c2e907f738fc82298d5497ce858f55fd
2023-05-02 09:24:57 -05:00
Evan Gray cf37919416 sdk/js: version bump 2023-04-18 16:37:05 -04:00
Nikhil Suri d7b6be7358
Cosmwasm package naming updates (#2641)
* sdk: update wormhole-core to wormhole-sdk and fix lib name to be wormhole_sdk

* cosmwasm: update wormhole and token bridge cosmwasm package/lib names

* Fix terra2 deployment script with new artifact names
2023-04-18 09:31:38 -07:00
bruce-riley 8a866c3c1d
node: sei testnet support (#2660)
* Sei testnet support

* Set contract addresses

* node/pkg/watchers: add RunWithScissors

* SDK tweaks

* node: revert "node/pkg/watchers: add RunWithScissors" (#2620)

This reverts commit 9b8bed4dbf.

* Make Sei use IBC watcher

---------

Co-authored-by: Paul Noel <panoel007@gmail.com>
Co-authored-by: Paul Noel <35237584+panoel@users.noreply.github.com>
2023-04-18 09:34:01 -04:00
Evan Gray 7640539a44 sdk/js: bump injective sdk 2023-04-17 21:45:00 -04:00
Kevin Peters 908dc5fb3a sdk/js: bumped version to v0.9.12 2023-04-04 16:45:32 +02:00
bruce-riley f9758b38e7
SDK/Node: Sepolia deployment (#2567) 2023-04-03 09:24:17 -05:00
Nikhil Suri 081f1997a5
sdk: remove outdated comment on vaa payload size limit (#2546) 2023-03-24 14:34:02 -05:00
tbjump 24f3893b49 vaa/governance: Document other ActionIds 2023-03-20 10:43:44 -07:00
bruce-riley 18e8e14402
Node: Circle Integration governance fixes (#2507) 2023-03-16 09:13:50 -05:00
Conor Patrick 26839604c8 accountant: export governance modules from sdk to double check in contract 2023-03-16 08:48:25 -05:00
Conor Patrick 6324a239f9 accountant: address comments from #2513 2023-03-16 08:48:25 -05:00
Conor Patrick 0f123dedb1 node: use new action and module for accountant modify_balance 2023-03-16 08:48:25 -05:00
Conor Patrick 3a1bc456e3 accountant: separate modify_balance into separate module and check test errors 2023-03-16 08:48:25 -05:00
bruce-riley 2658868ba6
Node: Support VAAs with large payloads (#2518)
* Node: Support VAAs with large payloads

Change-Id: Ie09bdc8ea0813ee90f9b686f3fe95365baa4014f

* Clean up tests

Change-Id: I983a40a2e7763271c8212ac18455b8b45e48fd3e
2023-03-14 14:32:30 -04:00
bruce-riley 5023ffec2b
Node: Circle Integration governance support (#2444)
* Node: Circle Integration governance support

* Fix spacing

* Code review rework
2023-03-06 13:23:48 -06:00
Conor Patrick a64e4717de accountant: review comments 2023-02-27 08:52:42 -06:00
Conor Patrick d4e0445785 node: calculate digests using Vaa type or using message prefix 2023-02-27 08:52:42 -06:00
bruce-riley a2d09dad4b
Node: Base watcher support for testnet (#2424)
* Node: Base watcher support for testnet

* Add a comment

* Add base to rpc dump command
2023-02-23 18:37:35 -05:00
Kevin Peters 96624168b8 sdk/js: bumped version to v0.9.11 2023-02-23 16:53:31 -05:00
bruce-riley caa71f18a6
Deploy base to testnet (#2422)
* Deploy base to testnet

* Shouldn't add testnet evmChainId to impl

* Add base to rpc dump command

* Oops, wrong branch!
2023-02-23 15:42:30 -05:00
Conor Patrick bbec427145 accountant: minor cleanup 2023-02-16 18:03:47 -05:00
Conor Patrick b35480f966 accountant: address review comments for modify governance vaa 2023-02-15 06:23:25 -08:00
Conor Patrick 4640b6ae73 node: add modify governance vaa for token bridge 2023-02-15 06:23:25 -08:00
Conor Patrick a3a8e3ea87 accountant: use token bridge governance vaa to make modifications 2023-02-15 06:23:25 -08:00
Kevin Peters 3e05a027af sdk/js: v0.9.10 release 2023-02-14 16:03:42 +01:00
heyitaki 1deee6f7a1 sdk/js: reconstruct TokenId obect in getForeignAssetAptos to reduce number of RPC calls 2023-02-10 12:35:34 -05:00