Commit ea7ac29
* fix: don't unescrow tokens that are moved between escrow accounts (#230)
* fix: don't unescrow tokens that are moved between escrow accounts
* add more tests
* consolidate new tests
* feat(pfm): Migration to align expected escrow state (#231)
* feat(packetforward): Bump consensus version from 2 to 3
* feat(packetforward): Add empty migration setup
* test(packetforward): Initialize mocks and tests for migration
* feat(packetforward): Implement migration
* fix(packetforward): Use correct expected keeper method names and parameters
* docs: Migration test steps
* test(packetforward): Upgrade e2e test
* fix: Upgrade in app
* fix: Use preblock for upgrade
* fix: Set missing app PreBlocker
* fix: Use corrected 8.1.0 pre-upgrade image
SetPreBlocker was not set, so upgrade module did not trigger. Also,
upgrade handlers should not be set in the previous binary.
* ci: Update deprecated artifacts actions
* ci: Update golangci/golangci-lint-action
* docs: Remove inaccurate previous image upgrade info
* ci: Update e2e test to use 8.1.0 pre-upgrade docker image
* docs: Test case docs
* build: Replace 8.1.0 pre-upgrade image with linux/amd64
* test: Enable upgrade handlers in local simapp for upgrade e2e test
---------
Co-authored-by: drklee3 <[email protected]>
(cherry picked from commit 515bdca)
# Conflicts:
# middleware/packet-forward-middleware/Dockerfile
# middleware/packet-forward-middleware/e2e/upgrade_test.go
# middleware/packet-forward-middleware/packetforward/types/expected_keepers.go
# middleware/packet-forward-middleware/testing/simapp/app.go
* fix conflicts
* remove v8 previous image
* fix import
* fix wrong pfm versions
* use pfm 7.2.0 for upgrade tests
---------
Co-authored-by: William Shao <[email protected]>
1 parent 3a75835 commit ea7ac29
File tree
17 files changed
+723
-58
lines changed- .github/workflows
- middleware/packet-forward-middleware
- e2e
- packetforward
- keeper
- migrations/v3
- types
- testing
- previous_images
- simapp
- upgrades
- test/mock
17 files changed
+723
-58
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
633 | 636 | | |
634 | 637 | | |
635 | 638 | | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
636 | 680 | | |
637 | 681 | | |
638 | 682 | | |
| |||
0 commit comments