Skip to content

Commit

Permalink
Merge pull request #238 from multiversx/const-for-internal-vm-errors-…
Browse files Browse the repository at this point in the history
…identifier

Internal VM errors indentifier
  • Loading branch information
miiu96 authored Jul 11, 2023
2 parents 063d4f7 + 0859235 commit c57a59e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ const SignalErrorOperation = "signalError"
// CompletedTxEventIdentifier is the identifier for the log that is generated when the execution of a smart contract call is done
const CompletedTxEventIdentifier = "completedTxEvent"

// InternalVMErrorsOperation is the identifier for the log that is generated when the execution of a smart contract generates an interval vm error
const InternalVMErrorsOperation = "internalVMErrors"

// GasRefundForRelayerMessage is the return message for to the smart contract result with refund for the relayer
const GasRefundForRelayerMessage = "gas refund for relayer"

Expand Down
8 changes: 8 additions & 0 deletions data/outport/status.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package outport

// StatusInfo holds the fields for the transaction status
type StatusInfo struct {
CompletedEvent bool `json:"completedEvent"`
ErrorEvent bool `json:"errorEvent"`
Status string `json:"status"`
}

0 comments on commit c57a59e

Please sign in to comment.