Skip to content

Commit

Permalink
Merge pull request #255 from cymqqqq/ContractOp-bugfix
Browse files Browse the repository at this point in the history
assignmentType to GlobalStateType
  • Loading branch information
dr-orlovsky authored Jun 16, 2024
2 parents cb6892b + 49fe7ce commit 6e6befd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/op_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub enum ContractOp {
/// Counts number of global state items of the provided type in the contract
/// state and puts the number to the destination `a16` register.
#[display("cnc {0},a16{1}")]
CnC(AssignmentType, Reg32),
CnC(GlobalStateType, Reg32),

/// Loads input (previous) structured state with type id from the first
/// argument and index from the second argument `a16` register into a
Expand Down

0 comments on commit 6e6befd

Please sign in to comment.