Kevin Peters
4c7df41984
clients/js: Added generate RecoverChainId cmd, split cmds into separate files
2023-01-25 11:35:48 -05:00
Csongor Kiss
e6d3bb8731
worm: speed up `evm info` by improving concurrency
2023-01-18 11:22:33 -05:00
kev1n-peters
b7aae9d5dd
clients/js: evm info identifies unsupported features ( #2065 )
2022-12-02 11:36:10 -06:00
Csongor Kiss
b58c75de8f
worm: speed up startup by loading deps on demand
...
goes from ~3s to ~300ms, so 10x improvement
2022-10-21 19:56:23 +01:00
Kevin Peters
afb7a2e502
clients/js: EVM query contract refactor
...
Use the generated interface functions instead of defining our own
2022-10-15 09:50:18 -04:00
Evan Gray
64952c8d85
clients/js: update evm query
2022-09-15 16:53:16 -04:00
Kevin Peters
9d477e0585
ethereum: EVM fork protection
...
Added a `uint256 evmChainId` state variable to the Core, Token and NFT Bridge
contracts. `evmChainId` is compared to `block.chainid` in the `chainId`
function. When they don't match, a "bad fork" Chain ID is returned,
otherwise the Wormhole Chain ID is returned.
2022-09-09 13:16:27 -05:00
Csongor Kiss
fa3cec16f6
clients/js: Add support for NFT bridge transfers
...
commit-id:6b11415c
2022-07-05 19:24:58 +01:00
Csongor Kiss
465916c3f8
clients/js: Add support for AttestMeta
...
commit-id:67ad91cc
2022-07-05 19:24:58 +01:00
Csongor Kiss
1b4c97cd67
clients/js: Add support for parsing payload3 + test parser
...
commit-id:d9fb5d95
2022-07-05 19:24:58 +01:00
Csongor Kiss
33fce26f35
clients/js: Add support for parsing token bridge transfers
...
commit-id:00a4fb9e
2022-07-05 19:24:58 +01:00
Csongor Kiss
9a42aacf0f
clients/js: add command to return all evm chains
...
Also add an option to 'evm info' to return the implementation only. This
is an optimisation to make this query faster when we don't care about
the rest
2022-06-30 13:57:02 +01:00
Csongor Kiss
c453f4cf6d
evm: Make finality a state variable
2022-06-28 21:31:23 +01:00
Csongor Kiss
3c6e1b07d6
clients/js: Add command to hijack a mainnet fork + misc utilities
...
* Add command to update evm storage slot
* Add command to ecrecover
* Add command to print contract addresses
* Add command to print RPC urls
* Add command to query on-chain state of EVM contracts
* Print digest in parse VAA command
2022-06-27 19:19:16 +01:00
Bruce Riley
dcce155f43
Acala mainnet deploy
2022-06-03 14:44:22 -04:00
Bruce Riley
f9697f7c58
Minor cli tweaks
2022-05-18 13:55:05 -04:00
bruce-riley
87e2e4cf64
CLI changes for klatyn, celo and moonbeam ( #1159 )
...
* CLI changes for klatyn, celo and moonbeam
* Replacing SDK dependency
* Same for the lock file
* More package file stuff
* Pick up new SDK version
2022-05-10 13:05:43 -04:00
Csongor Kiss
1c006f9bed
cli: Refactor js cli to support all contracts + add improvements ( #1100 )
...
* cli: Refactor js cli to support all contracts + add improvements
* Fix path in Makefile
* Don't be strict
* Fix registration VAA deserialisation
* Add karura gas calculation logic
* cli: fix after sdk rebase
* cli: improve makefile
* cli: depend on @certusone/wormhole-sdk locally instead of importing relative paths
* cli: add polygon overrides
* client: update for devnet
* fix tx signing in solana cli
* client: alias network
Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-05-05 20:51:24 -04:00