Re: Deploy multiple smart contracts on a single address and interact with them with web3.py

2024-03-06 Thread Yao Marius SODOKIN
Hello, When I read the sent arritcles on how to fix "stack too deep error", it help me solving the problem. but the problem I have now is that : Warning: Contract code size is 34894 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainne

Re: Deploy multiple smart contracts on a single address and interact with them with web3.py

2024-03-05 Thread Yao Marius SODOKIN
OK thanks you. I will check it Le mar. 5 mars 2024 à 19:57, kolapo goodness a écrit : > here is an article on managing the* *stack too deep* *error > https://soliditydeveloper.com/stacktoodeep > > here is also a stackexchange conversation related to it > > https://ethereum.stackexchange.com/ques

Re: Deploy multiple smart contracts on a single address and interact with them with web3.py

2024-03-05 Thread kolapo goodness
here is an article on managing the* *stack too deep* *error https://soliditydeveloper.com/stacktoodeep here is also a stackexchange conversation related to it https://ethereum.stackexchange.com/questions/19587/how-to-fix-stack-too-deep-error On Tue, Mar 5, 2024 at 6:22 PM Yao Marius SODOKIN < yao

Re: Deploy multiple smart contracts on a single address and interact with them with web3.py

2024-03-05 Thread Yao Marius SODOKIN
ok thanks you sir, As far as storage variables concerned, I want create many instances of a contrat in my web API, then I use Structs for most of variables, That why I use really locals variables in my functions. if you have resources on it, you recommend to me Le mar. 5 mars 2024 à 18:08, kolapo

Re: Deploy multiple smart contracts on a single address and interact with them with web3.py

2024-03-05 Thread kolapo goodness
evm (ethereum virtual machine) uses the stack data structure and the depth is 1024 so if you get a stack too deep error you should check your solidity code and can also implement some slot packing techniques. the main issue comes from one or more of your functions where you're using a lot of variab

Deploy multiple smart contracts on a single address and interact with them with web3.py

2024-03-04 Thread Yao Marius SODOKIN
Hello dear all, I am developing a decentralized application; It implements smart contracts with solidity. each object represents a smart contract. So I wrote the Transaction, Project, User contracts. I want to deploy these contracts to a single address; and interact with them from my REST API deve