mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
introducing deneb changes and blobs to builder (#12477)
This commit is contained in:
committed by
Preston Van Loon
parent
bcdf1c92a7
commit
8a67f616f0
@@ -554,7 +554,7 @@ func TestAddInt(t *testing.T) {
|
||||
func TestWeiToGwei(t *testing.T) {
|
||||
tests := []struct {
|
||||
v *big.Int
|
||||
want uint64
|
||||
want math.Gwei
|
||||
}{
|
||||
{big.NewInt(1e9 - 1), 0},
|
||||
{big.NewInt(1e9), 1},
|
||||
@@ -572,6 +572,6 @@ func TestWeiToGwei_CopyOk(t *testing.T) {
|
||||
v := big.NewInt(1e9)
|
||||
got := math.WeiToGwei(v)
|
||||
|
||||
require.Equal(t, uint64(1), got)
|
||||
require.Equal(t, math.Gwei(1), got)
|
||||
require.Equal(t, big.NewInt(1e9).Uint64(), v.Uint64())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user