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: l1 execution #516

Merged
merged 44 commits into from
Sep 4, 2023
Merged

feat: l1 execution #516

merged 44 commits into from
Sep 4, 2023

Conversation

Orland0x
Copy link
Contributor

No description provided.

@Orland0x Orland0x changed the title fix: l1 execution feat: l1 execution Aug 31, 2023
Copy link
Contributor

@pscott pscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite a lot of code; need to do a second pass

Comment on lines +24 to +26
// We cannot have early proposal execution with this strategy because we determine the proposal status
// on L1 in a separate tx and therefore cannot ensure that the proposal is not still in the voting period
// when it is executed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future, I wonder if we'd be able to prove the output of getProposalStatus on a contract C with storage S on chain X, with a clever use of storage proofs :D

starknet/src/execution_strategies/eth_relayer.cairo Outdated Show resolved Hide resolved
starknet/test/l1-execution.test.ts Outdated Show resolved Hide resolved
starknet/test/l1-execution.test.ts Outdated Show resolved Hide resolved
starknet/test/l1-execution.test.ts Outdated Show resolved Hide resolved
starknet/test/l1-execution.test.ts Outdated Show resolved Hide resolved
starknet/test/safeUtils.ts Outdated Show resolved Hide resolved
starknet/test/safeUtils.ts Outdated Show resolved Hide resolved
@Orland0x Orland0x requested a review from pscott September 4, 2023 10:53
Copy link
Contributor

@pscott pscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, good PR

STARKNET_SIERRA_COMPILE_PATH: ./cairo/bin/starknet-sierra-compile
OBJC_DISABLE_INITIALIZE_FORK_SAFETY: YES
ADDRESS: "0x347be35996a21f6bf0623e75dbce52baba918ad5ae8d83b6f416045ab22961a"
PK: "0xbdd640fb06671ad11c80317fa3b1799d"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? who's pk is this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The address above it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha yeah I figured but I just wanted to make sure this was indeed a random pk and not one of yours :)

ethereum/test/L1AvatarExecutionStrategy.t.sol Show resolved Hide resolved
@Orland0x
Copy link
Contributor Author

Orland0x commented Sep 4, 2023

utACK, good PR

alright addressed everything. thanks for detailed review.

@Orland0x Orland0x merged commit 05cc4db into develop Sep 4, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants