Fix simple transfer test

This commit is contained in:
Chenyang
2025-04-20 20:34:15 +08:00
parent 3080167366
commit 04f884d12a
2 changed files with 3 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ func (tx *Transaction) SetGasBudgetIfNotSet(budget uint64) *Transaction {
func (tx *Transaction) Gas() Argument { func (tx *Transaction) Gas() Argument {
return Argument{ return Argument{
GasCoin: lo.ToPtr(true), GasCoin: struct{}{},
} }
} }

View File

@@ -101,7 +101,7 @@ func (gd *GasData) IsAllSet() bool {
// - None // - None
// - Epoch // - Epoch
type TransactionExpiration struct { type TransactionExpiration struct {
None *bool None any
Epoch *uint64 Epoch *uint64
} }
@@ -246,7 +246,7 @@ type Upgrade struct {
// - Result // - Result
// - NestedResult // - NestedResult
type Argument struct { type Argument struct {
GasCoin *bool GasCoin any
Input *uint16 Input *uint16
Result *uint16 Result *uint16
NestedResult *NestedResult NestedResult *NestedResult