Skip to content
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

Feature/compass handover #1279

Merged
merged 9 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions proto/palomachain/paloma/evm/chain_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ message SmartContractDeployment {
Status status = 4;

message ERC20Transfer {
// individual transfers are no longer needed with the new atomic update mechanism
// TODO: remove once the new mechanism is rolled out
option deprecated = true;

// Paloma denom of the ERC20 token
string denom = 1;
// Address of the ERC20 token on the target chain
Expand Down
25 changes: 15 additions & 10 deletions proto/palomachain/paloma/evm/turnstone.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,23 @@ message SubmitLogicCall {
ExecutionRequirements executionRequirements = 7
[ (gogoproto.nullable) = false ];
uint32 retries = 8;
Fees fees = 10
Fees fees = 10
[ (gogoproto.nullable) = true ];
}

message UpdateValset {
Valset valset = 1;
message UpdateValset {
Valset valset = 1;
}

message CompassHandover {
message ForwardCallArgs {
string hexContractAddress = 1;
bytes payload = 2;
}
repeated ForwardCallArgs forwardCallArgs = 1 [ (gogoproto.nullable) = false ];
int64 deadline = 2;
// Contains ID of the new smart contract
uint64 id = 3;
}

message UploadSmartContract {
Expand Down Expand Up @@ -74,6 +85,7 @@ message Message {
UpdateValset updateValset = 4;
UploadSmartContract uploadSmartContract = 5;
UploadUserSmartContract uploadUserSmartContract = 11;
CompassHandover compassHandover = 12;
}

string compassAddr = 6;
Expand All @@ -97,10 +109,3 @@ message TxExecutedProof {
}

message SmartContractExecutionErrorProof { string errorMessage = 1; }

// This is no longer in active use.
message TransferERC20Ownership {
option deprecated = true;
uint64 smartContractID = 1;
bytes newCompassAddress = 2;
}
Loading
Loading