Fix simple transfer test
This commit is contained in:
@@ -108,7 +108,7 @@ func (tx *Transaction) SetGasBudgetIfNotSet(budget uint64) *Transaction {
|
||||
|
||||
func (tx *Transaction) Gas() Argument {
|
||||
return Argument{
|
||||
GasCoin: lo.ToPtr(true),
|
||||
GasCoin: struct{}{},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ func (gd *GasData) IsAllSet() bool {
|
||||
// - None
|
||||
// - Epoch
|
||||
type TransactionExpiration struct {
|
||||
None *bool
|
||||
None any
|
||||
Epoch *uint64
|
||||
}
|
||||
|
||||
@@ -246,7 +246,7 @@ type Upgrade struct {
|
||||
// - Result
|
||||
// - NestedResult
|
||||
type Argument struct {
|
||||
GasCoin *bool
|
||||
GasCoin any
|
||||
Input *uint16
|
||||
Result *uint16
|
||||
NestedResult *NestedResult
|
||||
|
||||
Reference in New Issue
Block a user