-
Notifications
You must be signed in to change notification settings - Fork 71
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
Remove max-nonprivileged-inline-action-size option #1645
Remove max-nonprivileged-inline-action-size option #1645
Conversation
…action_size limit and add new test for 512k limit
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 like your PR description!
@@ -453,7 +450,7 @@ namespace eosio { namespace testing { | |||
class tester : public base_tester { | |||
public: | |||
tester(setup_policy policy = setup_policy::full, db_read_mode read_mode = db_read_mode::HEAD, std::optional<uint32_t> genesis_max_inline_action_size = std::optional<uint32_t>{}, std::optional<uint32_t> config_max_nonprivileged_inline_action_size = std::optional<uint32_t>{}) { |
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.
should you remove the parameter as well, or maybe change the name to unused
.
std::optional<uint32_t> config_max_nonprivileged_inline_action_size = std::optional<uint32_t>{}
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.
Thanks, not sure how my search missed that.
Remove the option
max-nonprivileged-inline-action-size
max_inline_action_size
provides protection against abuse.524287
. https://bloks.io/account/eosio?loadContract=true&tab=Tables&account=eosio&scope=eosio&limit=100&table=globalResolves #1614