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

feat:update deployments to use FallbackRoutingHook #3179

Merged
merged 4 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
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
654 changes: 343 additions & 311 deletions rust/config/mainnet3_config.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions typescript/infra/config/environments/mainnet3/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const ethereumMainnetConfigs: ChainMap<ChainMetadata> = {
confirmations: 3,
},
transactionOverrides: {
maxFeePerGas: 500 * 10 ** 9, // 500 gwei
maxPriorityFeePerGas: 100 * 10 ** 9, // 100 gwei
maxFeePerGas: 1000 * 10 ** 9, // 500 gwei
maxPriorityFeePerGas: 200 * 10 ** 9, // 100 gwei
// gasPrice: 50 * 10 ** 9, // 50 gwei
},
},
Expand Down
17 changes: 13 additions & 4 deletions typescript/infra/config/environments/mainnet3/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
AggregationIsmConfig,
ChainMap,
CoreConfig,
FallbackRoutingHookConfig,
HookType,
IgpHookConfig,
IsmType,
Expand Down Expand Up @@ -77,10 +78,18 @@ export const core: ChainMap<CoreConfig> = objMap(owners, (local, owner) => {
type: HookType.PAUSABLE,
...owner,
};

const defaultHook: AggregationHookConfig = {
type: HookType.AGGREGATION,
hooks: [pausableHook, merkleHook, igpHook],
const aggregationHooks = objMap(
originMultisigs,
(_origin, _): AggregationHookConfig => ({
type: HookType.AGGREGATION,
hooks: [pausableHook, merkleHook, igpHook],
}),
);
const defaultHook: FallbackRoutingHookConfig = {
type: HookType.FALLBACK_ROUTING,
...owner,
domains: aggregationHooks,
fallback: merkleHook,
};

const requiredHook: ProtocolFeeHookConfig = {
Expand Down
Loading
Loading