feat: support base deployment
gas limit had to be set when setting executors on base: kept getting UNPREDICTABLE_GAS_LIMIT error. It should definitely not cost more than 100000 gas to set limit... but this may be a problem on other chains in the future.
This commit is contained in:
@@ -28,7 +28,7 @@ async function main() {
|
||||
|
||||
// Iterate through roles and grant them to the corresponding addresses
|
||||
for (const [roleName, roleHash] of Object.entries(roles)) {
|
||||
const addresses = rolesDict[roleName];
|
||||
const addresses = rolesDict[network][roleName];
|
||||
if (addresses && addresses.length > 0) {
|
||||
console.log(`Granting ${roleName} to the following addresses:`, addresses);
|
||||
const tx = await router.batchGrantRole(roleHash, addresses);
|
||||
|
||||
Reference in New Issue
Block a user