Skip to content

Commit ab24de9

Browse files
authored
Merge branch 'ethereum:master' into portal
2 parents 69ed1c6 + e31709d commit ab24de9

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

console/console_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ func (env *tester) Close(t *testing.T) {
152152
}
153153

154154
// Tests that the node lists the correct welcome message, notably that it contains
155-
// the instance name, coinbase account, block number, data directory and supported
156-
// console modules.
155+
// the instance name, block number, data directory and supported console modules.
157156
func TestWelcome(t *testing.T) {
158157
tester := newTester(t, nil)
159158
defer tester.Close(t)
@@ -171,7 +170,10 @@ func TestWelcome(t *testing.T) {
171170
t.Fatalf("console output missing sync status: have\n%s\nwant also %s", output, want)
172171
}
173172
if want := fmt.Sprintf("datadir: %s", tester.workspace); !strings.Contains(output, want) {
174-
t.Fatalf("console output missing coinbase: have\n%s\nwant also %s", output, want)
173+
t.Fatalf("console output missing datadir: have\n%s\nwant also %s", output, want)
174+
}
175+
if want := "modules: "; !strings.Contains(output, want) {
176+
t.Fatalf("console output missing modules: have\n%s\nwant also %s", output, want)
175177
}
176178
}
177179

ethclient/gethclient/gethclient.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,12 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
245245
if msg.AccessList != nil {
246246
arg["accessList"] = msg.AccessList
247247
}
248+
if msg.BlobGasFeeCap != nil {
249+
arg["maxFeePerBlobGas"] = (*hexutil.Big)(msg.BlobGasFeeCap)
250+
}
251+
if msg.BlobHashes != nil {
252+
arg["blobVersionedHashes"] = msg.BlobHashes
253+
}
248254
return arg
249255
}
250256

0 commit comments

Comments
 (0)