aergoio / aergo

aergo blockchain kernel
http://docs.aergo.io
MIT License
214 stars 45 forks source link

Increase limit of events per transaction #302

Closed kroggen closed 2 weeks ago

kroggen commented 1 year ago

The current limit is 50 events / txn

When the MaxCallDepth was increased to 64 this other limit was not changed

It may be interesting to make the limit of events to be somewhat like twice the MaxCallDepth, allowing for 2 events for every contract call

On this case, if approved, the new limit would be 128 events per transaction (on V4)

Is it OK? Is there any implication of this change?