Update for new testnet release

This commit is contained in:
Leo 2021-02-04 20:16:57 +01:00
parent 166a6896d2
commit 7d72203b67
7 changed files with 105 additions and 89 deletions

View File

@ -1 +0,0 @@
f58aa25dc823c4bd44426920f54f3748d68bbe53

View File

@ -1 +0,0 @@
[{"inputs":[{"components":[{"internalType":"address[]","name":"keys","type":"address[]"},{"internalType":"uint32","name":"expiration_time","type":"uint32"}],"internalType":"struct Wormhole.GuardianSet","name":"initial_guardian_set","type":"tuple"},{"internalType":"address","name":"wrapped_asset_master","type":"address"},{"internalType":"uint32","name":"_guardian_set_expirity","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"oldGuardianIndex","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"newGuardianIndex","type":"uint32"}],"name":"LogGuardianSetChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"target_chain","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"token_chain","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"token_decimals","type":"uint8"},{"indexed":true,"internalType":"bytes32","name":"token","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"sender","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"recipient","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"nonce","type":"uint32"}],"name":"LogTokensLocked","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"consumedVAAs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"idx","type":"uint32"}],"name":"getGuardianSet","outputs":[{"components":[{"internalType":"address[]","name":"keys","type":"address[]"},{"internalType":"uint32","name":"expiration_time","type":"uint32"}],"internalType":"struct Wormhole.GuardianSet","name":"gs","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian_set_expirity","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian_set_index","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"}],"name":"guardian_sets","outputs":[{"internalType":"uint32","name":"expiration_time","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWrappedAsset","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"recipient","type":"bytes32"},{"internalType":"uint8","name":"target_chain","type":"uint8"},{"internalType":"uint32","name":"nonce","type":"uint32"},{"internalType":"bool","name":"refund_dust","type":"bool"}],"name":"lockAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"recipient","type":"bytes32"},{"internalType":"uint8","name":"target_chain","type":"uint8"},{"internalType":"uint32","name":"nonce","type":"uint32"}],"name":"lockETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"vaa","type":"bytes"}],"name":"submitVAA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wrappedAssetMaster","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"wrappedAssets","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +0,0 @@
f58aa25dc823c4bd44426920f54f3748d68bbe53

View File

@ -1,97 +1,117 @@
timestamp: 1605744545
timestamp: 1612465182
# idx = 0
guardians: {
pubkey: "0xd0f017B48d0ce29fB31dAde2F1413C93F73913D9"
name: "P2P Validator"
}
guardian_set: {
# idx = 0
guardians: {
pubkey: "0xd0f017B48d0ce29fB31dAde2F1413C93F73913D9"
name: "P2P Validator"
}
# idx = 1
guardians: {
pubkey: "0xacDdB005a6FE071E7955c2311241f03F6eC51b63"
name: "Everstake"
}
# idx = 1
guardians: {
pubkey: "0xacDdB005a6FE071E7955c2311241f03F6eC51b63"
name: "Everstake"
}
# idx = 2
guardians: {
pubkey: "0x52238D2F89CBf5DaD246309B7B90e7D200150614"
name: "Dokia Capital"
}
# idx = 2
guardians: {
pubkey: "0x52238D2F89CBf5DaD246309B7B90e7D200150614"
name: "Dokia Capital"
}
# idx = 3
guardians: {
pubkey: "0xAF3FfcE9237eb9E0DE35a13DEA83AD53de3025E2"
name: "Staking Facilities"
}
# idx = 3
guardians: {
pubkey: "0xAF3FfcE9237eb9E0DE35a13DEA83AD53de3025E2"
name: "Staking Facilities"
}
# idx = 4
guardians: {
pubkey: "0x9E5325D192D2A3eEfc383C8c528a471E27252d34"
name: "Chorus One"
}
# idx = 4
guardians: {
pubkey: "0x9E5325D192D2A3eEfc383C8c528a471E27252d34"
name: "Chorus One"
}
# idx = 5
guardians: {
pubkey: "0x8b1c9eFA61eBF66Fa1a6deDCF46fb1e37708ce5c"
name: "Certus One"
}
# idx = 5
guardians: {
pubkey: "0x8b1c9eFA61eBF66Fa1a6deDCF46fb1e37708ce5c"
name: "Certus One"
}
# idx = 6
guardians: {
pubkey: "0x50Cb498bE4370CEa95d4977D923d60a6ADfd8E57"
name: "Chainlayer"
}
# idx = 6
guardians: {
pubkey: "0x50Cb498bE4370CEa95d4977D923d60a6ADfd8E57"
name: "Chainlayer"
}
# idx = 7
guardians: {
pubkey: "0xaF808a559156DFFa64b5032C6E97742b60420554"
name: "Staking Fund"
}
# idx = 7
guardians: {
pubkey: "0xaF808a559156DFFa64b5032C6E97742b60420554"
name: "Staking Fund"
}
# idx = 8
guardians: {
pubkey: "0xF30C810D73721B9AD64FcCd182cbcb5de9286bE1"
name: "01Node"
}
# idx = 8
guardians: {
pubkey: "0xF30C810D73721B9AD64FcCd182cbcb5de9286bE1"
name: "01Node"
}
# idx = 9
guardians: {
pubkey: "0xCD522e3AA0aBa7Bd43C7762Ffa2B93df7d93c949"
name: "Morphism"
}
# idx = 9
guardians: {
pubkey: "0xCD522e3AA0aBa7Bd43C7762Ffa2B93df7d93c949"
name: "Morphism"
}
# idx = 10
guardians: {
pubkey: "0xa7b2037D3e1830731b31ca13f65778774b12c694"
name: "Hashquark"
}
# idx = 10
guardians: {
pubkey: "0xa7b2037D3e1830731b31ca13f65778774b12c694"
name: "Hashquark"
}
# idx = 11
guardians: {
pubkey: "0x2895Ae701c799b6B8328bab664D10f5B299b8c18"
name: "Melea Trust"
}
# idx = 11
guardians: {
pubkey: "0x2895Ae701c799b6B8328bab664D10f5B299b8c18"
name: "Melea Trust"
}
# idx = 12
guardians: {
pubkey: "0x82b425593e41008ac212E355B67C589bbA27137d"
name: "Moonlet"
}
# idx = 12
guardians: {
pubkey: "0x82b425593e41008ac212E355B67C589bbA27137d"
name: "Moonlet"
}
# idx = 13
guardians: {
pubkey: "0x40d7e9406953E1BEbf7f409039954F9bd5E63b0b"
name: "Forbole"
}
# idx = 13
guardians: {
pubkey: "0x40d7e9406953E1BEbf7f409039954F9bd5E63b0b"
name: "Forbole"
}
# idx = 14
guardians: {
pubkey: "0x64cabfBE67B853be3546b14E86E55c7BCf00413B"
name: "Jump Trading"
}
# idx = 14
guardians: {
pubkey: "0x64cabfBE67B853be3546b14E86E55c7BCf00413B"
name: "Jump Trading"
}
# idx = 15
guardians: {
pubkey: "0xbeC984Cb075a1fe20991619C5c5c081F6c83Bf8B"
name: "Smith MCF"
# idx = 15
guardians: {
pubkey: "0xbeC984Cb075a1fe20991619C5c5c081F6c83Bf8B"
name: "Smith MCF"
}
# idx = 16
guardians: {
pubkey: "0x916Cbd15d2dF7BebaF243cfdBb85d1d5e453644D"
name: "Chainode Tech"
}
# idx = 17
guardians: {
pubkey: "MISSING"
name: "syncnode"
}
# idx = 18
guardians: {
pubkey: "MISSING"
name: "Inotel"
}
}

View File

@ -22,8 +22,8 @@ Connected chain contracts:
| Network | Bridge contract addresss |
|--------------------|------------------------------------------------|
| Ethereum Goerli | [`0xdae0Cba01eFc4bfEc1F7Fece73Fe8b8d2Eda65B0`](https://goerli.etherscan.io/address/0xdae0cba01efc4bfec1f7fece73fe8b8d2eda65b0) (verified on Etherscan) |
| Solana Tour de Sol | [`BrdgiFmZN3BKkcY3danbPYyxPKwb8RhQzpM2VY5L97ED`](https://explorer.solana.com/address/BrdgiFmZN3BKkcY3danbPYyxPKwb8RhQzpM2VY5L97ED?cluster=testnet) |
| Ethereum Goerli | [`0x251bBCD91E84098509beaeAfF0B9951859af66D3`](https://goerli.etherscan.io/address/0x251bBCD91E84098509beaeAfF0B9951859af66D3) |
| Solana Tour de Sol | [`5gQf5AUhAgWYgUCt9ouShm9H7dzzXUsLdssYwe5krKhg`](https://explorer.solana.com/address/5gQf5AUhAgWYgUCt9ouShm9H7dzzXUsLdssYwe5krKhg?cluster=testnet) |
| Terra Tequila-0004 | [`terra176ckj5gu5vc704033wlm87avrem83pa4vx6c4p`](https://finder.terra.money/tequila-0004/address/terra176ckj5gu5vc704033wlm87avrem83pa4vx6c4p) |
A copy of the contract binaries that were deployed can be found in [artifacts/](artifacts), along with a pointer to the
@ -45,14 +45,14 @@ Refer to the [operations guide](https://github.com/certusone/wormhole/blob/maste
/usr/local/bin/guardiand bridge \
--bootstrap "/dns4/wormhole-testnet-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWH3VP44t12yKQXrPfMQVKEqSHnk5GTN3RCSqNoakAkLCq"
--network "/wormhole/testnet/1" \
--ethContract "0xdae0Cba01eFc4bfEc1F7Fece73Fe8b8d2Eda65B0" \
--ethContract "0x251bBCD91E84098509beaeAfF0B9951859af66D3" \
--nodeName "Certus One" \ # <-- your node's name (for network explorer usage)
--nodeKey /opt/solana/keys/wormhole-node.key \ # <-- auto-generated node key
--bridgeKey /opt/solana/keys/wormhole-guardian.key \ # <-- your guardian key generated by "guardiand keygen"
--ethRPC wss://ethereum-node.example.com/ws/v3/[...] \ # <-- your ETH full/light node websocket URI
--adminSocket /run/guardiand/admin.socket \
--agentRPC /run/guardiand/agent.socket \
--terra \ # <-- use this flag to enable Terra support
--terra \
--terraWS wss://terra-node.example.com:26657/websocket \ # <-- Terra node websocket URI
--terraLCD https://terra-lcd.example.com:1317 \ # <-- Terra LCD node HTTP URI
--terraChainID "tequila-0004" \
@ -62,7 +62,7 @@ Refer to the [operations guide](https://github.com/certusone/wormhole/blob/maste
```bash
/usr/local/bin/guardiand-solana-agent \
--bridge BrdgiFmZN3BKkcY3danbPYyxPKwb8RhQzpM2VY5L97ED \
--bridge 5gQf5AUhAgWYgUCt9ouShm9H7dzzXUsLdssYwe5krKhg \
--rpc http://solana-host:8899 \ # <-- URL of your Solana validator RPC server
--ws ws://solana-devnet:8900 \ # <-- Websocket path to your Solana validator PubSub port (RPC port +1)
--keypair /path/to/feepayer.json \ # <-- Keypair of a Solana fee payer account with ~10 SOL in it