-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(batch): batch message request (#2121)
This pr introduce a new message type BatchRequest that suppresses execution errors on individual messages, preventing them from causing the entire batch to fail.
- Loading branch information
Showing
25 changed files
with
3,052 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
syntax = "proto3"; | ||
package axelar.auxiliary.v1beta1; | ||
|
||
option go_package = "github.com/axelarnetwork/axelar-core/x/auxiliary/types"; | ||
option (gogoproto.messagename_all) = true; | ||
|
||
import "gogoproto/gogo.proto"; | ||
|
||
message BatchedMessageFailed { | ||
int32 index = 1; | ||
string error = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
syntax = "proto3"; | ||
package axelar.auxiliary.v1beta1; | ||
|
||
option go_package = "github.com/axelarnetwork/axelar-core/x/auxiliary/types"; | ||
|
||
import "gogoproto/gogo.proto"; | ||
|
||
option (gogoproto.goproto_getters_all) = false; | ||
|
||
// GenesisState represents the genesis state | ||
message GenesisState {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
syntax = "proto3"; | ||
package axelar.auxiliary.v1beta1; | ||
|
||
option go_package = "github.com/axelarnetwork/axelar-core/x/auxiliary/types"; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "google/api/annotations.proto"; | ||
import "axelar/auxiliary/v1beta1/tx.proto"; | ||
|
||
option (gogoproto.goproto_registration) = true; | ||
|
||
// Msg defines the nexus Msg service. | ||
service MsgService { | ||
rpc Batch(BatchRequest) returns (BatchResponse) { | ||
option (google.api.http) = { | ||
post : "/axelar/auxiliary/batch" | ||
body : "*" | ||
}; | ||
} | ||
} |
Oops, something went wrong.