Comments (7)
to expand on the assert test for GRACE_PERIOD, all state variables that get set in a constructor or during initialization need to be tested for correctness
from v1-core.
@ElliotFriedman Did you look into the factory by chance? I forget the context there.
I think it was whether or not using a clone factory with the overhead of each call made sense.
Or maybe it was if it was possible at all. I think @RusseII might have run into trouble deploying at all with the size of our contracts + imports.
from v1-core.
Or maybe it was if it was possible at all. I think @RusseII might have run into trouble deploying at all with the size of our contracts + imports.
I think the issue was if we did not use the clone factory then the contract size was too large for us to deploy. I think @ElliotFriedman had some issue like this in the past and was going to see if it was possible to deploy the bondFactory + bond code separately to reduce contract size with a regular factory?
from v1-core.
It really should be possible. Try running hardhat contract size on your contracts in their current state, then try doing another run of the contract size after you remove the creation of a new bond token in the factory. The factory bytecode should be smaller after you remove the creation of the new token.
from v1-core.
@Namaskar-1F64F ready to close this?
from v1-core.
It really should be possible. Try running hardhat contract size on your contracts in their current state, then try doing another run of the contract size after you remove the creation of a new bond token in the factory. The factory bytecode should be smaller after you remove the creation of the new token.
After removing the bond and the instantiation,
- import "./Bond.sol";
- tokenImplementation = address(new Bond());
+ tokenImplementation = address(0x0);
using hh size-contracts
from v1-core.
Nice!
from v1-core.
Related Issues (20)
- Mainnet runthrough HOT 2
- update BondBeforeGracePeriodAndPaid error naming
- Revert on a sweep to a token with 0 balance
- Deploy to Mainnet HOT 1
- Use internal _burn methods and add role tests HOT 1
- Study spearbit changes for possible regression issues HOT 1
- Should we be using paymentBalance more places? HOT 1
- Create architecture diagram for explaining our system
- Fix failing tests without .env
- Setup ImmuneFi bug bounty
- Deploy Contracts with Multisig
- Improve tests HOT 1
- Improve Resiliency HOT 2
- Mainnet Deployment HOT 2
- Look into OTC
- Create Testnet USDC Faucet HOT 3
- Improve documentation with e2e examples
- Create Events Bot HOT 1
- Feature request to enable fully trustless credit default insurance products
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v1-core.