-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go/upgrade: Adjust MaxTxSize and MaxBlockSize in consensus240 handler #5588
Conversation
✅ Deploy Preview for oasisprotocol-oasis-core canceled.
|
1c85327
to
d19b668
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably makes sense to also update defaults in
oasis-core/go/oasis-node/cmd/genesis/genesis.go
Lines 856 to 857 in dc8256d
initGenesisFlags.String(cfgConsensusMaxTxSizeBytes, "32kb", "cometbft maximum transaction size (in bytes)") | |
initGenesisFlags.String(cfgConsensusMaxBlockSizeBytes, "21mb", "cometbft maximum block size (in bytes)") |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5588 +/- ##
==========================================
+ Coverage 65.89% 65.94% +0.04%
==========================================
Files 577 577
Lines 58879 58887 +8
==========================================
+ Hits 38799 38833 +34
+ Misses 15567 15533 -34
- Partials 4513 4521 +8 ☔ View full report in Codecov by Sentry. |
But then it won't update anything in tests. |
This is needed as DCAP quotes are larger and nodes running multiple confidential runtimes may otherwise exceed the max transaction size.
90a6df2
to
4944990
Compare
in this case, I like to prepare a draft PR which we can merge as soon as we do the upgrade. |
Good idea, I'll do that. |
This is needed as DCAP quotes are larger and nodes running multiple confidential runtimes may otherwise exceed the max transaction size.