-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rollapp): fix expensive iteration when setting canonical light cl…
…ient (#1575)
- Loading branch information
Showing
19 changed files
with
1,203 additions
and
64 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ build/ | |
proposal.json | ||
.go-version | ||
**/testdata/rapid/ | ||
**/__debug_bin* | ||
**/__debug_bin* | ||
.aider* |
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
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
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
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,27 @@ | ||
syntax = "proto3"; | ||
package dymensionxyz.dymension.lightclient; | ||
|
||
import "cosmos/msg/v1/msg.proto"; | ||
import "gogoproto/gogo.proto"; | ||
import "google/api/annotations.proto"; | ||
import "google/protobuf/any.proto"; | ||
|
||
option go_package = "github.com/dymensionxyz/dymension/v3/x/lightclient/types"; | ||
|
||
service Msg { | ||
rpc SetCanonicalClient(MsgSetCanonicalClient) returns (MsgSetCanonicalClientResponse); | ||
} | ||
|
||
// verify a client state and its consensus states against the rollapp | ||
// if it matches, set the client as the canonical client for the rollapp | ||
// NOTE: this definition is also copied to the relayer code | ||
message MsgSetCanonicalClient { | ||
option (cosmos.msg.v1.signer) = "signer"; | ||
string signer = 1; | ||
// id of ibc client state | ||
string client_id = 2; | ||
} | ||
|
||
message MsgSetCanonicalClientResponse { | ||
} | ||
|
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
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
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
Oops, something went wrong.