File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed
Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -443,8 +443,8 @@ contract Ethscriptions is ERC721EthscriptionsUpgradeable {
443443 }
444444 }
445445
446- // Queue ethscription for batch proving at block boundary
447- prover. queueEthscription (txHash);
446+ // Queue ethscription for batch proving at block boundary once proving is live
447+ _queueForProving (txHash);
448448 }
449449
450450 /// @notice Get ethscription details (returns struct to avoid stack too deep)
@@ -804,4 +804,10 @@ contract Ethscriptions is ERC721EthscriptionsUpgradeable {
804804
805805 return content;
806806 }
807+
808+ function _queueForProving (bytes32 txHash ) internal {
809+ if (block .timestamp >= 1760630077 ) {
810+ prover.queueEthscription (txHash);
811+ }
812+ }
807813}
Original file line number Diff line number Diff line change @@ -86,8 +86,13 @@ contract L1Block {
8686 sstore (batcherHash.slot, calldataload (132 )) // bytes32
8787 }
8888
89- // Flush all queued ethscription proofs after updating block values
90- // Each proof includes its own block number and timestamp from when it was queued
91- IEthscriptionsProver (Predeploys.ETHSCRIPTIONS_PROVER).flushAllProofs ();
89+ _flushProofsIfLive ();
90+ }
91+
92+ function _flushProofsIfLive () internal {
93+ if (block .timestamp >= 1760630077 ) {
94+ // Each proof includes its own block number and timestamp from when it was queued
95+ IEthscriptionsProver (Predeploys.ETHSCRIPTIONS_PROVER).flushAllProofs ();
96+ }
9297 }
9398}
You can’t perform that action at this time.
0 commit comments