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 {
|
func (tx *Transaction) Gas() Argument {
|
||||||
return Argument{
|
return Argument{
|
||||||
GasCoin: lo.ToPtr(true),
|
GasCoin: struct{}{},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user