Skip to content
Open
Show file tree
Hide file tree
Changes from 11 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
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: OffchainLabs/actions/run-nitro-test-node@output-logging
- uses: OffchainLabs/actions/run-nitro-test-node@main

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: OffchainLabs/actions/run-nitro-test-node@output-logging
- uses: OffchainLabs/actions/run-nitro-test-node@main

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
11 changes: 10 additions & 1 deletion audit-ci.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@
// undici fetch with integrity action is too lax - again we only use undici in dev so not an issue
"GHSA-9qxr-qj54-h672",
// memory exhaustion possible in lib/parse, but we only use node in dev so not an issue for us
"GHSA-grv7-fg5c-xmjg"
"GHSA-grv7-fg5c-xmjg",
// ws dos too many http - we only use in dev
"GHSA-3h5v-q93c-6h6q",
// BER sig malleability vuln - only used in dev
"GHSA-49q7-c7j4-3p7m",
// ECDSA missing leading bit r and s check - only used in dev
"GHSA-977x-g7h5-7qgw",
// EDDSA missing sig length check - package only used in dev
"GHSA-f7q4-pwc6-w24p"

]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"actionChainIds": [
42161
],
"actionAddresses": [
"0x17D2448355D6F87F0391B1304A268db9057C72a8"
],
"arbSysSendTxToL1Args": {
"l1Timelock": "0xE6841D92B0C345144506576eC13ECf5103aC7f49",
"calldata": "0x8f2a0bb000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000329b522ddb06783afcf0f347a1bca9a8104bb7c4e772676af6832afcfaaf24af000000000000000000000000000000000000000000000000000000000003f4800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a723c008e76e379c55599d2e4d93879beafda79c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001800000000000000000000000004dbd4fc535ac27206064b68ffcf827b0a60bab3f000000000000000000000000cf57572261c7c2bcf21ffd220ea7d1a27d40a82700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000841cff79cd00000000000000000000000017d2448355d6f87f0391b1304a268db9057c72a800000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000004b147f40c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# CoreGovTimelockUpdateDelayEightDayAction 0x17D2448355D6F87F0391B1304A268db9057C72a8

yarn gen:proposalData \
--govChainProviderRPC https://arb1.arbitrum.io/rpc \
--actionChainIds 42161 \
--actionAddresses 0x17D2448355D6F87F0391B1304A268db9057C72a8 \
--writeToJsonPath ./scripts/proposals/CoreGovTimelockUpdateDelayEightDay/CoreGovTimelockUpdateDelayEightDay.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.16;

import "../address-registries/L2AddressRegistryInterfaces.sol";

/// @notice Updates the delay of the core gov timelock to 8 days
contract CoreGovTimelockUpdateDelayEightDayAction {
ICoreGovTimelockGetter public constant govAddressRegistry = ICoreGovTimelockGetter(0x56C4E9Eb6c63aCDD19AeC2b1a00e4f0d7aBda9d3);
uint256 public constant delay = 86400 * 8;

function perform() external {
govAddressRegistry.coreGovTimelock().updateDelay(delay);
require(
govAddressRegistry.coreGovTimelock().getMinDelay() == delay,
"CoreGovTimelockUpdateDelayAction: Timelock delay"
);
}
}