Skip to content

Commit

Permalink
Revert "Feature/compass handover" (#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
byte-bandit authored Aug 29, 2024
1 parent a605a1f commit e09a5e8
Show file tree
Hide file tree
Showing 19 changed files with 1,523 additions and 2,675 deletions.
4 changes: 0 additions & 4 deletions proto/palomachain/paloma/evm/chain_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ 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: 10 additions & 15 deletions proto/palomachain/paloma/evm/turnstone.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,12 @@ 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 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 UpdateValset {
Valset valset = 1;
}

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

string compassAddr = 6;
Expand All @@ -109,3 +97,10 @@ 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

0 comments on commit e09a5e8

Please sign in to comment.