introducing deneb changes and blobs to builder (#12477)

This commit is contained in:
james-prysm
2023-06-14 13:04:48 -05:00
committed by Preston Van Loon
parent bcdf1c92a7
commit 8a67f616f0
37 changed files with 2198 additions and 168 deletions

View File

@@ -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())
}