Skip to content

Commit

Permalink
Merge branch 'alicenet:main' into bondingCurveGas
Browse files Browse the repository at this point in the history
  • Loading branch information
chgorman committed Aug 10, 2022
2 parents 1513773 + 464a465 commit dbb216c
Show file tree
Hide file tree
Showing 221 changed files with 1,521 additions and 7,575 deletions.
18 changes: 0 additions & 18 deletions application/minedtx/mockstorage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ import (
func makeMockStorageGetter() *mockStorageGetter {
maxBytes := uint32(0)
dataStoreEpochFee := new(big.Int).SetInt64(0)
atomicSwapFee := new(big.Int).SetInt64(0)
valueStoreFee := new(big.Int).SetInt64(0)
minTxFee := new(big.Int).SetInt64(0)

msg := &mockStorageGetter{
maxBytes: maxBytes,
dataStoreEpochFee: dataStoreEpochFee,
valueStoreFee: valueStoreFee,
atomicSwapFee: atomicSwapFee,
minTxFee: minTxFee,
}
return msg
Expand All @@ -36,7 +34,6 @@ type mockStorageGetter struct {
maxBytes uint32
dataStoreEpochFee *big.Int
valueStoreFee *big.Int
atomicSwapFee *big.Int
minTxFee *big.Int
}

Expand Down Expand Up @@ -122,21 +119,6 @@ func (msg *mockStorageGetter) GetValueStoreValidVersion() uint32 {
return 0
}

func (msg *mockStorageGetter) GetAtomicSwapFee() *big.Int {
return msg.atomicSwapFee
}

func (msg *mockStorageGetter) SetAtomicSwapFee(value *big.Int) {
if value == nil {
panic("invalid value")
}
msg.atomicSwapFee.Set(value)
}

func (msg *mockStorageGetter) GetAtomicSwapValidStopEpoch() uint32 {
return 0
}

func (msg *mockStorageGetter) GetMinTxFee() *big.Int {
return msg.minTxFee
}
Expand Down
Loading

0 comments on commit dbb216c

Please sign in to comment.