Skip to content

Commit b5351eb

Browse files
authored
Merge pull request #3 from sei-protocol/bump-to-20k
bump
2 parents ebf2027 + 172da4f commit b5351eb

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)