Creating a contract in a factory doesn't actually deploy it on-chain
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 218
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 8
Description
I am implementing a Factory contract in Fe, which should generate and deploy on-chain the new created contract.
The issue happens using these functions
https://fe-lang.org/docs/spec/items/functions/context.html?highlight=create#createcreate2
Basically, once the contract is created it is usable within the factory itself, but once I try to call functions on it from outside the factory, using its address, it does not respond.
Also, I tried checking the lenght of the blockchain to see if the created contract is actually deployed, and no, the lenght of the chain doesn't change. It looks like create() and create2() don't really add a new block on the blockchain.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked context-function documentation for create and create2, then reproduce the factory deployment and an external call using the created address. Check whether the reported chain-length observation reflects deployment state; done means the created contract is persisted on-chain and responds to calls from outside the factory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100