Commit 1e60c05
test: add a program to verify upgrade of solana gateway program (#81)
* prototyping cpi for withdraw and call
* revert msg hash in args
* extend poc with remaining accounts
* add tss signature to execute function
* change sender to be eth address
* update test
* uncomment tests
* fmt and comments
* withdraw and call spl
* PR comments and cleanup
* PR comments refactoring
* merge and cleanup
* typo
* fix typo
* generate
* add data to hash
* add increment nonce instruction
* add revert to spl connected
* comments
* fmt
* add some validation of remaining accounts
* add a new version of gateway contract used for testing upgrades
* format files
* format files
* add a separate upgrade instruction instead of a field in PDA
* move connected contracts to their own directory
* add makefile target
* add makefile target
* use latest rust version
* use latest rust version
* use latest rust version
* use latest rust version
* move to examples folder
---------
Co-authored-by: skosito <[email protected]>1 parent 2559ed6 commit 1e60c05
File tree
7 files changed
+1319
-1
lines changed- programs
- examples/gateway_upgrade
- src
- gateway/src
7 files changed
+1319
-1
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments