Stan Drozd
df5b86eded
Solitaire: Say what value was passed as wrong instruction id
...
Change-Id: I4b79ba95ab5a43a197dfdd164b731d37b490a093
2021-07-30 14:00:35 +00:00
Reisen
0a669111dd
Derive Wrapped Mint/Tokens
...
Change-Id: Ic530013e1932daef382cd89b9f14d1069c4006b0
2021-07-30 13:09:44 +00:00
Reisen
108a4a2ff9
Remove InstructionContext::verify. Verify in handlers
...
Change-Id: I661308951de261bff572398b6834523563906907
2021-07-30 13:09:44 +00:00
Leo
d37375e9a3
node/pkg/solana: simplify client method signatures
...
Change-Id: Ic317c78d7415dc11baf39d696ebdd57336b219bc
2021-07-30 09:06:25 +00:00
Alwin Peng
2d9ae8e860
check & add vaa to archive on all submit_vaa calls
...
Change-Id: Ia0b1a5e9ee8f6467dff34d9cd92183cba49bccf5
2021-07-29 15:25:38 -04:00
Leopold Schabel
d1e001c453
Add CPI example to DEVELOP.md
...
Change-Id: I8f281779228d0bba11bbe5504ba4e9a68e2f52f6
2021-07-29 16:50:50 +00:00
Leo
493b7ee855
node/pkg/solana: filter by requested consistency level
...
certusone/wormhole#248
Change-Id: Ib40b6016bda19e17c4700db6b39dbf340dfc0f4c
2021-07-29 15:55:57 +00:00
Hendrik Hofstadt
dd5388a748
Add CPI proxy
...
Change-Id: Iba395084fe0cf5ebd4e1cd7bb3515c6c1f7e8756
2021-07-29 17:40:15 +02:00
Hendrik Hofstadt
2a6f7eaa0e
Add solana bridge CLI
...
Change-Id: I79f7abdb7472c63b3a03f4e3c2ede70953a5037a
2021-07-29 17:37:26 +02:00
Hendrik Hofstadt
dfdf31dcce
Implement WASM client for token bridge
...
Change-Id: I592cc0ece0553d55c50d87010783fefb7f9b5f2f
2021-07-29 17:27:54 +02:00
Hendrik Hofstadt
f9eb8a2c0a
Implement wasm client for the bridge core
...
Change-Id: I7931eef27d8b10eaeec00833ab3dc28a57257cdf
2021-07-29 17:27:45 +02:00
Hendrik Hofstadt
d33738e179
Make the token bridge work
...
Change-Id: Ic34f87c09dfaa91d7bf5793e83da9f06abd2fa3f
2021-07-29 17:21:17 +02:00
Hendrik Hofstadt
897af148fc
Implement a bridge stub for testing
...
Change-Id: Ide97a1df9d55658eeea79f7886a3a504a9108fda
2021-07-29 15:20:22 +00:00
Hendrik Hofstadt
f6932bebca
Set correct mutability on Transfer Native
...
Change-Id: I50a34645de34cd97b801015748331cfba7cdfac9
2021-07-29 15:20:09 +00:00
Hendrik Hofstadt
42c3040de1
Allow user provided signature set accounts to prevent DoS
...
With derived signature set accounts, an old guardian set could frontrun the creation of the account. Since the hash is persisted in the account, we don't need to encode it in the account address.
Change-Id: I49ca46611eb587c8234ac9b2c459263a2ace4219
2021-07-29 15:14:08 +00:00
Hendrik Hofstadt
1135fdacd1
Deploy terra FCD and test token
...
Change-Id: I0027b450c701031929b4aaba4941738d82c4247d
2021-07-29 14:50:04 +00:00
Leo
5bfa3b0055
node/pkg/solana: run one Solana watcher per consistency level
...
certusone/wormhole#248
Change-Id: I98abc6b4e635b8b5679fcda5342c90b0e5c96077
2021-07-29 14:27:04 +00:00
Stan Drozd
8b5e82df1b
scripts.nix: Use the kvm2 backend for whcluster/whremote
...
This commit works around pod name resolution issues under tilt with minikube.
Change-Id: I5fe6acf5f739633b5dcb57f814fd29084a359a8f
2021-07-29 14:24:25 +00:00
Leo
b9633d6d65
node/pkg/solana: fork solana-go to add GetConfirmedTransactionWithOpts
...
certusone/wormhole#248
Change-Id: I093d619cb82b35b963447cf4a5dc18ef6be1a0f5
2021-07-29 14:14:09 +02:00
Leo
cd8d2f68ed
node/pkg/solana: verbose logging for observations
...
certusone/wormhole#248
Change-Id: Iae4b4d187e8d6728de9087e43c5f8a7b4d821540
2021-07-29 14:14:09 +02:00
Leo
d5e6c844e3
node/pkg/solana: add initial logic for block-by-block requests
...
CPI part is untested.
Commitment level is hardcoded to "finalized", but can be refactored
to use both "committed" and "finalized" later.
certusone/wormhole#248
Change-Id: I5ae7711c306b33650367e6f7a417ab9d88753612
2021-07-29 12:14:01 +00:00
Leo
b70466d185
node/pkg/solana: use gagliardetto/solana-go fork
...
This fork is up to date on latest Solana changes, while the dfuse
origin appears to be abandoned:
https://github.com/dfuse-io/solana-go/compare/master...gagliardetto:main
Change-Id: I5d2999ec7e26bd79a8302e2a5a6dddfd5e2bcbee
2021-07-28 16:34:24 +00:00
Leo
cf9ea6bfde
node: add Binance Smart Chain support
...
BSC is identical to Eth, so we can just re-use our Eth devnet.
Fixes certusone/wormhole#185
Change-Id: Ib96a71b5e5873d7cbd8f26dbb655049c6a64cef9
2021-07-28 16:34:24 +00:00
Leo
1686b35587
node/pkg/ethereum: remove emitGuardianSet flag
...
Change-Id: Ic275220080d29b5a834f6487502619df877059c9
2021-07-28 16:34:24 +00:00
Leo
f717262282
node/pkg/ethereum: rename lockup to message
...
Change-Id: I914d348940ac3f0c359a4d5175cbe5861e9fe1c2
2021-07-28 16:34:24 +00:00
Leo
863e0e69ec
node/pkg/ethereum: configurable chain ID and name
...
Fixes wormhole/issues#247
Change-Id: Ieb792b73970603283e4ffc4a8b9217c85964fb9f
2021-07-28 16:34:24 +00:00
Alwin Peng
2c56a916eb
fix bytes -> string, flip arg order to be less confusing
...
Change-Id: I952b73628e56bc9449e5525bfd85e57851c20143
2021-07-28 16:00:44 +00:00
Alwin Peng
c8bc1b57cc
decimal shifting + max outstanding in terra token bridge
...
Change-Id: I830ea33abfd0b836ea5e69a77678f962cd771e01
2021-07-28 16:00:42 +00:00
Leo
7728b47659
devnet: fix Ready state delay by switching to readinessProbe
...
This works around an apparent k8s bug where startupProbe does not
respect periodSeconds.
Instead, use a readinessProbe.
Change-Id: I43251284db336ea5ade5b1735a867cf294a7b1c4
2021-07-28 14:59:48 +02:00
Leo
818e23ddca
devnet: increase eth tests timeout
...
60s is not enough on my machine, causing deployment to fail.
Change-Id: Iee6d81ab8251d466a6429ea0555306a50deba34b
2021-07-28 13:37:18 +02:00
Hendrik Hofstadt
047e9deabb
Deploy test token to devnet
...
Change-Id: Id5494802cedcb6eb41c04d366e84f051f42c225e
2021-07-28 08:52:41 +00:00
valentin
62ab6e84a8
test token deployment script
...
Change-Id: I404855872bd14f523ac9499b1a3a16253210ded0
2021-07-27 16:06:47 +00:00
Leo
3e31a1d388
design: add signed data availability doc
...
Fixes certusone/wormhole#264
Change-Id: I32aec307032c7d2f20185c680471161e4e0effad
2021-07-27 16:56:50 +02:00
Leopold Schabel
933442ac8a
node: create valid key file when an empty description is provided
...
Fixes certusone/wormhole#257
Change-Id: If0d9883513f4908cdd8303f24a999d1d612fad30
2021-07-27 12:40:46 +00:00
Leo
270bd78e98
solana: log sequence number
...
Untested: )
Change-Id: If6ff5b1b3b8199d6d8658aea8f3f0babc75b6989
2021-07-27 12:01:28 +00:00
Hendrik Hofstadt
14f61ee73b
Move requirements to the correct location
...
Fixes #266
Change-Id: Id3ac01db49347ee0131f3beac7f2d05e7208ca47
2021-07-27 11:47:08 +00:00
valentin
51e00dc1bf
tokenbridge: decimal shifting & max outstanding
...
Change-Id: Ia9f27f317fe08c1d8dbb9eaa60e53633acfdd381
2021-07-27 11:43:44 +00:00
valentin
14e892300c
tokenbridge: implement new governance packet spec
...
Change-Id: Iee4b596b6a8ca9dfc9c6ee8c6188a4083a05edeb
2021-07-27 08:59:32 +00:00
Hendrik Hofstadt
c819165d5c
Port terra governance changes to token bridge
...
Change-Id: I534b408c4539a6badf636d298b57f6d2df3c34d8
2021-07-26 19:04:20 +00:00
Leopold Schabel
4a8b1fe7fc
Update CONTRIBUTING.md
...
Change-Id: I515b0a1e69ad9cc0714a33e34a1861e1cf3a2e03
2021-07-26 16:17:53 +00:00
Reisen
db4c0f8f74
Handle Invalid Instructions
...
Change-Id: I8a6a15b7744e69c7eab88ef50295480bc5fb96ae
2021-07-26 16:09:01 +00:00
Reisen
28c0c3c195
Add Token Bridge test for initialize
...
Change-Id: Ia65c14b7a7bc6712e79db2b6f4244cb93f63093b
2021-07-26 16:09:01 +00:00
Reisen
191537ef8a
Set correct mutability on Initialize
...
Change-Id: I102cb98678cc20fad6cb07da8835c1effa4973ea
2021-07-26 16:09:01 +00:00
Reisen
f8174b7355
Set correct mutability on Attest
...
Change-Id: Ib9ead9dcc7c150292dcc00be60ac0a9b73935b48
2021-07-26 16:09:01 +00:00
Reisen
5f0707c75d
Remove persistent from Bridge tests.
...
Change-Id: Id149bf38a9b3061964cd2ac2b539ba03c9af0c29
2021-07-26 16:09:01 +00:00
Reisen
64c1d86e4d
Change serialize hierarchy for Governance
...
Change-Id: Id5581f84e9d325e1546f1690ba977b7470915491
2021-07-26 16:09:01 +00:00
Evan Gray
5e37afdb82
bridge_ui: initial commit
...
Change-Id: I35315035270dece70c5dcb511f4b2e5c6494452b
2021-07-26 15:34:58 +00:00
Leo
514560f52c
node: use promauto to auto-register metrics
...
Fixes certusone/wormhole#188
Change-Id: I26c0e3f05993e44185b6ee2531b7673f7fbc0eb6
2021-07-26 13:01:55 +00:00
Stan Drozd
fe48f05366
shell.nix: Set EMITTER_ADDRESS=changeme for development, add node
...
Change-Id: Id97b1188f890f1325fde3b9052242dd0d00496a8
2021-07-23 15:37:57 +02:00
valentin
1ef05996c6
token amounts and decimal shifts
...
Change-Id: Ib676ddf8936e2e68b06992e42913f197a356809c
2021-07-23 12:18:11 +00:00