Skip to content
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

fix update paymaster config #751

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ contract UpdateTokenPaymasterConfigScript is Script, Helper {
require(refundPostopCost > 0, "REFUND_POSTOP_COST env variable not set");
require(minEntryPointBalance > 0, "MIN_ENTRY_POINT_BALANCE env variable not set");
require(priceMarkup > 0, "PRICE_MARKUP env variable not set");
require(baseFee > 0 || (baseFee == 0 && baseFeeClear), "BASE_FEE env variable not set");
// ensure base fee is greater than 0, clearing the fee, or we are not changing the fee
require(baseFee > 0 || (baseFee == 0 && baseFeeClear) || baseFee == _baseFee, "BASE_FEE env variable not set");

vm.startBroadcast();
TokenPaymasterConfig memory tpc = TokenPaymasterConfig({
Expand Down
Loading