-
Notifications
You must be signed in to change notification settings - Fork 44
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
build(deps): bump Band Protocol to v2.3.1 #619
Conversation
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #619 +/- ##
==========================================
+ Coverage 75.59% 84.23% +8.64%
==========================================
Files 94 91 -3
Lines 4519 6624 +2105
==========================================
+ Hits 3416 5580 +2164
+ Misses 960 833 -127
- Partials 143 211 +68
Continue to review full report at Codecov.
|
…upgrade-band � Conflicts: � go.sum
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
@@ -59,11 +59,11 @@ message OracleRequest { | |||
option (gogoproto.equal) = true; | |||
|
|||
// ID is the ID of the request | |||
int64 id = 1 | |||
uint64 id = 1 |
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.
All these int
are now uint
inside Band code
@@ -107,13 +107,9 @@ message OracleParams { | |||
// the oracle script | |||
uint64 execute_gas = 5 [ (gogoproto.moretags) = "yaml:\"execute_gas\"" ]; | |||
|
|||
// FeePayer represents the key of the account that is going to pay for oracle | |||
// fees if needed | |||
string fee_payer = 6 [ (gogoproto.moretags) = "yaml:\"fee_payer\"" ]; |
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 no longer used by Band Protocol
@@ -35,7 +35,7 @@ func (s *IntegrationTestSuite) TestCmdQueryApplicationsLinks() { | |||
types.NewData("reddit", "reddit-user"), | |||
types.ApplicationLinkStateInitialized, | |||
types.NewOracleRequest( | |||
-1, | |||
0, |
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.
uint
does not support negative values, so the default one will be 0
now
.changeset/entries/397a12a6296b6f866be6f048c1be9e500e8a3a570c96b1dec4b1cd451ae142f9.yaml
Outdated
Show resolved
Hide resolved
ErrValidatorAlreadyReported = sdkerrors.Register(ModuleName, 11, "validator already reported") | ||
ErrInvalidReportSize = sdkerrors.Register(ModuleName, 12, "invalid report size") | ||
ErrReporterNotAuthorized = sdkerrors.Register(ModuleName, 13, "reporter not authorized") | ||
ErrEditorNotAuthorized = sdkerrors.Register(ModuleName, 14, "editor not authorized") |
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.
missing the 15 or is It ok?
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.
@bragaz These files are automatically downloaded from the Band Protocol repository, so I think it's fine. We only use part of them anyway inside our codebase
…6b1dec4b1cd451ae142f9.yaml Co-authored-by: Leonardo Bragagnolo <leo.braga95@gmail.com>
Co-authored-by: Leonardo Bragagnolo <leo.braga95@gmail.com>
Description
Bump Band Protocol dependencies to version v2.3.1, which is going to be the Band version used inside their new testnet as well as upcoming mainnet. This version relies on Cosmos v0.44.0.
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change