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(protocol): add preconfirmation support [helder] #17654

Closed
wants to merge 49 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
e69e360
make block metadata predictable longer + sequencer registry
Brechtpd Jun 23, 2024
f27e0b7
feedback
Brechtpd Jun 24, 2024
ee84153
order alphabetically
Brechtpd Jun 24, 2024
d59db31
Allow proposer to also choose the timestamp
Brechtpd Jun 25, 2024
fac9ba8
fix issue with difficulty not being independent of L1 slot or proposing
Brechtpd Jun 25, 2024
6ef1726
fix timestamp range check
Brechtpd Jun 25, 2024
de08795
fix ci
Brechtpd Jun 27, 2024
b5036c3
Merge remote-tracking branch 'origin/helder' into preconfirmations
Brechtpd Jun 27, 2024
3e0c74c
forge fmt & update contract layout table
Brechtpd Jun 27, 2024
015ed34
increase allowed L1 data window
Brechtpd Jun 28, 2024
23351f8
comment out some checks/unused functionality to make TaikoL1 deployable
Brechtpd Jun 29, 2024
d021b0d
forge fmt & update contract layout table
Brechtpd Jun 29, 2024
9e97bbf
add back simplified EOA check for now
Brechtpd Jun 30, 2024
507149b
Merge remote-tracking branch 'origin/preconfirmations' into preconfir…
Brechtpd Jun 30, 2024
4bbe16e
fix check
Brechtpd Jun 30, 2024
c29759f
nevermind disable check again to keep tests running
Brechtpd Jun 30, 2024
a68a163
enable check (I can't read)
Brechtpd Jun 30, 2024
d9fbe44
set proving window to 0 so anybody can prove blocks directly (with TKO)
Brechtpd Jul 1, 2024
0986e22
deploy and register sequencer registry
cyberhorsey Jul 2, 2024
3628ae7
forge fmt & update contract layout table
cyberhorsey Jul 2, 2024
ed709d7
.
cyberhorsey Jul 2, 2024
999e5d4
.
cyberhorsey Jul 2, 2024
0a89fa0
forge fmt & update contract layout table
cyberhorsey Jul 2, 2024
6a0f394
rm unused stuff
cyberhorsey Jul 3, 2024
f4e602a
forge fmt & update contract layout table
cyberhorsey Jul 3, 2024
63ba193
rm bridge copy
cyberhorsey Jul 3, 2024
2052946
Merge branch 'preconfirmations' of github.com:taikoxyz/taiko-mono int…
cyberhorsey Jul 3, 2024
967f7ee
forge fmt & update contract layout table
cyberhorsey Jul 3, 2024
5962ba9
calldata check fix
cyberhorsey Jul 5, 2024
157cd13
feat(protocol): allow contracts to propose (#17744)
cyberhorsey Jul 5, 2024
7451a5a
feat(protocol): propose multiple blocks in one call (#17787)
cyberhorsey Jul 13, 2024
c00bfb5
conversion fix
cyberhorsey Jul 13, 2024
8439b00
lint
cyberhorsey Jul 13, 2024
d1ecef2
forge fmt & update contract layout table
cyberhorsey Jul 13, 2024
4699f96
.
cyberhorsey Jul 13, 2024
14f5b94
forge fmt & update contract layout table
cyberhorsey Jul 13, 2024
0b2a987
feat(taiko-client): updates for protocol preconfirmation changes (#17…
davidtaikocha Jul 16, 2024
c4fe319
.
cyberhorsey Jul 16, 2024
73048c2
proposeBlocks as well as proposeBlock
cyberhorsey Jul 16, 2024
4205b96
lint
cyberhorsey Jul 16, 2024
c0f3b38
rm prove/verify block for code size temporarily, not being used
cyberhorsey Jul 16, 2024
0e03c3c
forge fmt & update contract layout table
cyberhorsey Jul 16, 2024
b38bd37
update taikoevents
cyberhorsey Jul 16, 2024
1b6fd86
Merge branch 'preconfirmations' of github.com:taikoxyz/taiko-mono int…
cyberhorsey Jul 16, 2024
a383b19
add offset/len
cyberhorsey Jul 17, 2024
1d1c41f
.
cyberhorsey Jul 17, 2024
284ef1a
feat(taiko-client): preconfirmation indexing (#17866)
cyberhorsey Aug 12, 2024
6579417
proposeblocks api fix
cyberhorsey Aug 14, 2024
915f888
log
cyberhorsey Aug 14, 2024
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
Prev Previous commit
Next Next commit
forge fmt & update contract layout table
  • Loading branch information
cyberhorsey authored and github-actions[bot] committed Jul 13, 2024
commit d1ecef2e3341cad8e25adcea5615e25acc09f09b
2 changes: 1 addition & 1 deletion packages/protocol/contracts/L1/TaikoData.sol
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ library TaikoData {
mapping(
uint64 blockId_mod_blockRingBufferSize
=> mapping(uint32 transitionId => TransitionState ts)
) transitions;
) transitions;
// Ring buffer for Ether deposits
bytes32 __reserve1;
SlotA slotA; // slot 5
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/script/DeployERC20Airdrop.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ contract DeployERC20Airdrop is DeployCapability {
impl: address(new ERC20Airdrop()),
data: abi.encodeCall(
ERC20Airdrop.init, (address(0), 0, 0, bytes32(0), bridgedTko, vaultAddress)
)
)
})
);

Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/script/DeployOnL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ contract DeployOnL1 is DeployCapability {
impl: address(new TaikoToken()),
data: abi.encodeCall(
TaikoToken.init, (owner, vm.envAddress("TAIKO_TOKEN_PREMINT_RECIPIENT"))
),
),
registerTo: sharedAddressManager
});
}
Expand Down Expand Up @@ -262,7 +262,7 @@ contract DeployOnL1 is DeployCapability {
vm.envBytes32("L2_GENESIS_HASH"),
vm.envBool("PAUSE_TAIKO_L1")
)
),
),
registerTo: rollupAddressManager
});

Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/script/tokenunlock/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ contract DeployTokenUnlock is DeployCapability {
impl: TOKEN_UNLOCK_IMPL,
data: abi.encodeCall(
TokenUnlock.init, (OWNER, ROLLUP_ADDRESS_MANAGER, recipients[i], TGE)
)
)
});
vm.stopBroadcast();
console2.log("grantee:", recipients[i]);
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/test/L2/DelegateOwner.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ contract TestDelegateOwner is TaikoTest {
data: abi.encodeCall(
DelegateOwner.init,
(remoteOwner, address(addressManager), remoteChainId, address(0))
),
),
registerTo: address(addressManager)
})
);
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/test/L2/TaikoL2.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract TestTaikoL2 is TaikoTest {
impl: address(new TaikoL2EIP1559Configurable()),
data: abi.encodeCall(
TaikoL2.init, (address(0), addressManager, l1ChainId, gasExcess)
),
),
registerTo: addressManager
})
)
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/test/L2/TaikoL2NoFeeCheck.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract TestTaikoL2NoFeeCheck is TaikoTest {
impl: address(new SkipBasefeeCheckL2()),
data: abi.encodeCall(
TaikoL2.init, (address(0), addressManager, l1ChainId, gasExcess)
),
),
registerTo: addressManager
})
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ contract AttestationBase is Test, DcapTestUtils, V3QuoteParseUtils {
data: abi.encodeCall(
AutomataDcapV3Attestation.init,
(admin, address(sigVerifyLib), address(pemCertChainLib))
)
)
})
);

Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/test/team/airdrop/ERC20Airdrop.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ contract TestERC20Airdrop is TaikoTest {
data: abi.encodeCall(
BridgedERC20.init,
(address(0), address(addressManager), randAddress(), 100, 18, "TKO", "Taiko Token")
)
)
})
);

Expand All @@ -129,7 +129,7 @@ contract TestERC20Airdrop is TaikoTest {
data: abi.encodeCall(
ERC20Airdrop.init,
(address(0), claimStart, claimEnd, merkleRoot, address(token), address(vault))
)
)
})
);

Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/test/tokenvault/BridgedERC20.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ contract TestBridgedERC20 is TaikoTest {
data: abi.encodeCall(
BridgedERC20.init,
(owner, address(manager), srcToken, srcChainId, srcDecimals, name, name)
),
),
registerTo: manager
})
);
Expand Down
6 changes: 3 additions & 3 deletions packages/protocol/test/tokenvault/ERC20Vault.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ contract TestERC20Vault is TaikoTest {
data: abi.encodeCall(
BridgedERC20.init,
(address(0), address(addressManager), randAddress(), 100, 18, "USDC", "USDC coin")
)
)
})
);

Expand All @@ -188,7 +188,7 @@ contract TestERC20Vault is TaikoTest {
data: abi.encodeCall(
BridgedERC20.init,
(address(0), address(addressManager), randAddress(), 100, 18, "USDT", "USDT coin")
)
)
})
);

Expand All @@ -207,7 +207,7 @@ contract TestERC20Vault is TaikoTest {
"stETH",
"Lido Staked ETH"
)
)
)
})
);
vm.stopPrank();
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/test/verifiers/RiscZeroVerifier.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ contract TestRiscZeroVerifier is TaikoL1TestBase {
data: abi.encodeCall(
RiscZeroVerifier.init,
(address(0), address(addressManager), address(riscZeroRemoteVerifier))
)
)
})
);

Expand Down