randomize sequence in governance VAAs

Solana does replay protection via the sequence so multiple sequential chain registrations were failing

Change-Id: I95045c5d8ccd6ce8d2129ccf9141e3bc6a500bac
This commit is contained in:
Hendrik Hofstadt 2021-09-01 15:08:00 +02:00
parent af67e71bfb
commit 3c3182040f
1 changed files with 38 additions and 38 deletions

View File

@ -102,7 +102,7 @@ yargs(hideBin(process.argv))
1, 1,
1, 1,
"0x0000000000000000000000000000000000000000000000000000000000000004", "0x0000000000000000000000000000000000000000000000000000000000000004",
0, Math.floor(Math.random() * 100000000),
data, data,
[ [
"cfb12303a19cde580bb4dd771639b0d26bc68353645571a8cff516ab2ee113a0" "cfb12303a19cde580bb4dd771639b0d26bc68353645571a8cff516ab2ee113a0"
@ -169,7 +169,7 @@ yargs(hideBin(process.argv))
data: fromUint8Array(vaa) data: fromUint8Array(vaa)
}, },
}, },
{ uluna: 1000 } {uluna: 1000}
); );
wallet wallet