wormhole/solana
Leo 4f306fdb8b solana/agent: always submit signature verify transactions
The first transaction acquires a pseudo-lock by setting
initial_creation = true, which will fail if a signature account
already exists. However, this is unsafe since the operation
consists of multiple operations and is not atomic - if the first
validator fails to submit a full set of signature transactions,
other guardians will not retry submitting signature verification txs.

We disable this mechanism to never set initial_creation, which
causes guardians to spend more fees in exchange for fault tolerance.

Instead of failing with an AlreadyExists error, duplicate transactions
will now succeed as a no-op and all nodes will attempt to submit
the full series of signature transactions.

Co-authored-by: Hendrik Hofstadt <hendrik@nexantic.com>
Change-Id: I0c418497f19cc97c9ae7a11b206035d6e70c1b66
2021-05-31 13:33:47 +00:00
..
agent solana/agent: always submit signature verify transactions 2021-05-31 13:33:47 +00:00
bridge BPF SDK hotfix and devnet startup improvement (#196) 2021-04-07 15:13:01 +02:00
cli Fix *.so copy in solana-devnet, correct crate feature for cli+agent (#198) 2021-04-08 12:47:35 +02:00
.dockerignore Build Solana smart contract 2020-08-20 18:56:26 +02:00
Cargo.lock upgrade solana sdk version (#166) 2021-01-28 17:44:54 +01:00
Cargo.toml Upgrade SDK; add balance rpc call (#80) 2020-11-13 14:14:56 +01:00
Dockerfile Fix *.so copy in solana-devnet, correct crate feature for cli+agent (#198) 2021-04-08 12:47:35 +02:00
devnet_setup.sh Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules (#159) 2021-01-23 18:20:17 +01:00
id.json Solana devnet fixtures and lockup generator 2020-08-21 20:48:58 +02:00
lockups.sh Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules (#159) 2021-01-23 18:20:17 +01:00
rustfmt.toml bridge: add secp check instruction (#41) 2020-10-01 16:42:45 +02:00