-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove IBC logic from x/upgrade #8673
Changes from 41 commits
e65921b
64b59fd
1234383
c5c0d26
31ca56d
9ea85b8
3449f66
01cc2d7
975133b
21fb511
862dc37
1d5bdd5
dd180e8
99f8a76
973cef5
c47f4ce
c9e515b
1590837
a2959f6
5295e58
b136626
49924c8
d05fba1
d86f0b0
96bc1c8
28fb256
b1fc663
715dd42
2b2e0b0
a0ff9e3
7b281f4
75edb27
d771d4f
e9597c1
07670fc
d3ecf9e
2a6adb0
0b51095
d40e695
7906b28
0404d4e
9dbcbe1
73fefb9
abc4ebb
95cb360
5e20b2f
57f2c8d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,8 +176,7 @@ func TestMigrate(t *testing.T) { | |
"height": "123", | ||
"info": "foo_upgrade_info", | ||
"name": "foo_upgrade_name", | ||
"time": "0001-01-01T00:00:00Z", | ||
"upgraded_client_state": null | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems "ok" to me to be modifying the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is fine |
||
"time": "0001-01-01T00:00:00Z" | ||
}, | ||
"title": "foo_software_upgrade" | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this was changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for not documenting it, but I believe the reason why is because then the upgrade module would have a dependency on the IBC module which we wanted to completely avoid. In order to return the correct
Any
, the upgrade module would need to understand what an IBC consensus state is, thus creating a dependency on the IBC moduleIs there an issue with the new behaviour?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It breaks the API. It seams that you were not correctly using this function - because Any was not used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a convenience function for the cli. Relayers who perform the client upgrade functionality do ABCI queries to obtain the proofs necessary