-
Notifications
You must be signed in to change notification settings - Fork 5
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
V0.50.1 patched #438
V0.50.1 patched #438
Conversation
reverting msgmultisend is not safe |
@@ -572,9 +578,9 @@ func (mr *MockBankKeeperMockRecorder) InitGenesis(arg0, arg1 interface{}) *gomoc | |||
} | |||
|
|||
// InputOutputCoins mocks base method. | |||
func (m *MockBankKeeper) InputOutputCoins(ctx context.Context, input types0.Input, outputs []types0.Output) error { | |||
func (m *MockBankKeeper) InputOutputCoins(ctx context.Context, inputs []types0.Input, outputs []types0.Output) error { |
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.
do we have to change this?
@@ -136,6 +140,9 @@ swagger = {{ .API.Swagger }} | |||
# Address defines the API server to listen on. | |||
address = "{{ .API.Address }}" | |||
|
|||
# Oracle-address defines the API server to listen on for oracle service. | |||
oracle-address = "{{ .API.OracleAddress }}" |
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.
y are there oracle stuff here?
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.
}, | ||
API: APIConfig{ | ||
Enable: false, | ||
Swagger: false, | ||
Address: DefaultAPIAddress, | ||
OracleAddress: DefaultOracleAPIAddress, |
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.
y are there oracle stuff here?
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.
@@ -108,6 +111,9 @@ type APIConfig struct { | |||
// Address defines the API server to listen on | |||
Address string `mapstructure:"address"` | |||
|
|||
// OracleAddress defines if the API server to listen on for oracle service | |||
OracleAddress string `mapstructure:"oracle-address"` |
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.
y are there oracle stuff here?
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.
key changes:
multiSend
can only have one sender (Make MsgMultiSend single sender cosmos/cosmos-sdk#12601)send
andmultiSend
typeAsserts the bank keeper to be of typeBaseKeeper
(this type assertion has issues with our implementation as our bank keeper is customised due to the x/alliance module, where the keeper is a wrapper of the originalx/bank BaseKeeper
, resulting in the type assertion check failing102b3f2