Skip to content

chore: advance block when deploying contract txe#14107

Merged
sklppy88 merged 1 commit into
masterfrom
ek/chore/advance-block-when-deploying-contract-txe
May 8, 2025
Merged

chore: advance block when deploying contract txe#14107
sklppy88 merged 1 commit into
masterfrom
ek/chore/advance-block-when-deploying-contract-txe

Conversation

@sklppy88

@sklppy88 sklppy88 commented May 6, 2025

Copy link
Copy Markdown
Contributor

Right now we mine an extra block when we do not need to and not after any initializers have been emitted, forcing us to env.advance_block_by() after any time we deploy to actually discover those side effects via note discovery.

Note that this removes the ability to check the note cache directly after deployment but I think that is such a niche case and we can always re-add an endpoint that doesn't advance block after deployment if necessary

sklppy88 commented May 6, 2025

Copy link
Copy Markdown
Contributor Author

@sklppy88 sklppy88 changed the title init chore: advance block when deploying contract txe May 6, 2025
@sklppy88 sklppy88 marked this pull request as ready for review May 6, 2025 16:39
@sklppy88 sklppy88 force-pushed the ek/chore/advance-block-when-deploying-contract-txe branch 3 times, most recently from ae340e8 to b37b64b Compare May 6, 2025 19:12
@sklppy88 sklppy88 changed the base branch from master to graphite-base/14107 May 7, 2025 10:43
@sklppy88 sklppy88 force-pushed the ek/chore/advance-block-when-deploying-contract-txe branch from b37b64b to 55fc46b Compare May 7, 2025 10:43
@sklppy88 sklppy88 changed the base branch from graphite-base/14107 to ek/fix/13221/counter-contract-tests-reenable-state-committing May 7, 2025 10:43
@sklppy88 sklppy88 force-pushed the ek/chore/advance-block-when-deploying-contract-txe branch 3 times, most recently from dffa7b7 to ab516e8 Compare May 7, 2025 11:25
Base automatically changed from ek/fix/13221/counter-contract-tests-reenable-state-committing to master May 7, 2025 11:37
@sklppy88 sklppy88 force-pushed the ek/chore/advance-block-when-deploying-contract-txe branch 3 times, most recently from f189f51 to 6c71df1 Compare May 7, 2025 14:29
@sklppy88 sklppy88 force-pushed the ek/chore/advance-block-when-deploying-contract-txe branch from 6c71df1 to f5173d8 Compare May 7, 2025 14:53
@sklppy88 sklppy88 requested a review from Thunkar May 7, 2025 16:24
@sklppy88 sklppy88 enabled auto-merge May 7, 2025 16:29
@sklppy88 sklppy88 added this pull request to the merge queue May 8, 2025
Merged via the queue into master with commit 4fab079 May 8, 2025
9 checks passed
@sklppy88 sklppy88 deleted the ek/chore/advance-block-when-deploying-contract-txe branch May 8, 2025 06:21
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.

2 participants