Skip to content

Commit 172da4f

Browse files
committed
bump
1 parent a38b6e8 commit 172da4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/go/evmc/evmc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ func (vm *VM) Execute(ctx HostContext, rev Revision,
243243
var (
244244
hostContextCounter uintptr
245245

246-
histContextSlots = make([]HostContext, 10000)
246+
histContextSlots = make([]HostContext, 20000)
247247
)
248248

249249
func addHostContext(ctx HostContext) uintptr {
250250
idx := ctx.GetTransactionIndex()
251251
if idx >= len(histContextSlots) {
252-
panic("received more than 5000 transactions in a block")
252+
panic(fmt.Sprintf("received more than 20000 transactions in a block: %d", idx))
253253
}
254254
histContextSlots[idx] = ctx
255255
return uintptr(unsafe.Pointer(&histContextSlots[idx]))

0 commit comments

Comments
 (0)