Skip to content

Commit

Permalink
fix debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cherry-yl-sh committed Mar 13, 2024
1 parent fa2f161 commit e53c549
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions service/chain_service/chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,9 @@ func TestCheckContractAddressAccess(t *testing.T) {
assert.True(t, res)
}
func TestGetGasPrice(t *testing.T) {
priceWei, gasPriceInGwei, gasPriceInEtherStr, _ := GetGasPrice(types.Ethereum)
priceWeiInt := priceWei.Uint64()
fmt.Printf("priceWeiInt %d\n", priceWeiInt)
fmt.Printf("gasPriceInGwei %f\n", gasPriceInGwei)
fmt.Printf("gasPriceInEtherStr %s\n", *gasPriceInEtherStr)
baseFee, _ := GetGas(types.Ethereum)
fmt.Printf("baseFee %d\n", baseFee.Uint64())
gasprice, _ := GetGasPrice(types.Ethereum)
fmt.Printf("gasprice %d\n", gasprice.MaxBasePriceWei.Uint64())

priorFee, priorFeeIGwei := GetPriorityFee(types.Ethereum)
fmt.Printf("priorFee %d\n", priorFee.Uint64())
fmt.Printf("priorFeeIGwei %f\n", priorFeeIGwei)
}

func TestGethClient(t *testing.T) {
Expand Down

0 comments on commit e53c549

Please sign in to comment.