Skip to content
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
6 changes: 6 additions & 0 deletions cre/capabilities/blockchain/aptos/v1alpha/client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ message GasConfig {

// ========== WriteReport ==========

enum ReceiverContractExecutionStatus {
RECEIVER_CONTRACT_EXECUTION_STATUS_SUCCESS = 0;
RECEIVER_CONTRACT_EXECUTION_STATUS_REVERTED = 1;
}

message WriteReportRequest {
bytes receiver = 1; // 32-byte Aptos account address of the receiver module
optional GasConfig gas_config = 2; // optional gas configuration
Expand All @@ -156,6 +161,7 @@ message WriteReportReply {
optional string tx_hash = 2; // transaction hash (hex string with 0x prefix)
optional uint64 transaction_fee = 3; // gas used in octas
optional string error_message = 4;
optional ReceiverContractExecutionStatus receiver_contract_execution_status = 5;
}

// ========== Service ==========
Expand Down
6 changes: 6 additions & 0 deletions cre/go/installer/pkg/embedded_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading