-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Increase transaction account lock limit from 64 to 128 #27242
Conversation
418d1d7
to
b7f28de
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.
I think the change set is technically correct, but I am still having doubts if this is the right direction to go for.
More write locks do reduce the maximal parallel execution. So, I would recommend adding some cost to locking additional accounts and doing so in the same feature gate. |
Updated label to v1.14 which is effectively the new v1.11 See discussion on Discord in #releng and #proj-quic-tpu for more context. |
b7f28de
to
765f288
Compare
Pull request has been modified.
765f288
to
776d37b
Compare
@Lichtso I'm going to merge now to get this enabled on devnet but will refrain from updating on mainnet-beta until getting consensus on what the cost updates should be |
* Increase transaction account lock limit from 64 to 256 * fix bpf test * Reduce lock limit from 256 to 128 (cherry picked from commit b970024) # Conflicts: # programs/bpf/tests/programs.rs # programs/bpf_loader/src/syscalls/cpi.rs # runtime/src/bank.rs # sdk/bpf/c/inc/sol/cpi.h # sdk/bpf/c/inc/sol/inc/cpi.inc # sdk/program/src/syscalls/mod.rs # sdk/src/feature_set.rs
* Increase transaction account lock limit from 64 to 256 * fix bpf test * Reduce lock limit from 256 to 128 (cherry picked from commit b970024) # Conflicts: # runtime/src/bank.rs # sdk/src/feature_set.rs
Is this going to happen or not? |
Problem
The transaction account lock limit is currently set to 64 which is too limiting for use-cases like the Neon EVM
Summary of Changes
Added a feature gate that bumps the account lock limit and CPI account info limit both to 128.
Fixes: #27756
Feature Gate Issue: #27241