[Deployment] Where arefactory_deps
stored when deployed as a contract?
#571
-
EnvironmentMainnet zkSolc VersionN/A zksync-ethers VersionN/A Hardhat.config.tsN/A Deployment Script (WITHOUT PRIVATE KEY)N/A Package.jsonN/A Contract CodeN/A Does this work on other EVMs? (If yes, please list at least 1 of them)N/A Description of What Your Contract DoesN/A Repo Link (Optional)No response Additional DetailsWhen a user deploys a smart contract the docs say that the smart contract is deployed to the L1
So a few questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I got it.
There is a contract called You'd think contract verification would, therefore, be easier.
This transaction deploys a zkSync minimal account abstraction account. You can see in the logs it emits and event called I guess the part that I'm confused on now, is the transaction life cycle. This leads to this question: Is a zkSync node reading the contract data from the L1 in order to process a transaction? |
Beta Was this translation helpful? Give feedback.
Correction:
No, the L2 nodes cache the address’s bytecode and stores it as a hash at that address in the account code storage contract to prevent the wrong bytecode from being run