mirror of
https://github.com/fluencelabs/interface-types
synced 2025-07-06 10:01:43 +00:00
fix(interface-types) arg.get
's index is of type u32
.
This commit is contained in:
@ -252,7 +252,7 @@ where
|
||||
match self {
|
||||
Instruction::ArgumentGet { index } => {
|
||||
0x00_u8.to_bytes(writer)?;
|
||||
index.to_bytes(writer)?;
|
||||
(*index as u64).to_bytes(writer)?;
|
||||
}
|
||||
|
||||
Instruction::Call { function_index } => {
|
||||
|
Reference in New Issue
Block a user