Comments (5)
I agree that implementing mc.reset()
and incorporating a reset within mc.deploy()
makes a lot of sense. I'll go ahead and implement those changes.
from mc.
I find the idea of JIT EVM really fascinating. However, it seems that currently, there's no support for JIT execution of generic contract code, so it might be best to wait for native support in Foundry. In the meantime, keeping method chains short can be a workaround to avoid the Stack Too Deep
compile error. This approach might result in some repetitive code, but using:
mc.init("hogehoge");
mc.use(FunctionA);
mc.use(FunctionB);
mc.deploy();
instead of chaining them together like:
mc.init("hogehoge").use(FunctionA).use(FunctionB).deploy();
can be effective.
from mc.
It sounds good for a bundle, although, could you suggest some ideas on multi-bundle deployment script usecase.
The mc
is preserving internal state and cache-related problems might undermine stability of deployment process.
I guess mc.reset();
alike cache cleaner is good for now. Or we can reset state inside mc.deploy();
logic.
from mc.
Okay, close this issue when you merged that feature.
from mc.
I've implemented mc.reset()
. I also experimented with incorporating a reset within mc.deploy()
, but decided against it for now since it would make toProxyAddress()
, which is likely used in many use cases, unavailable after deployment. It's possible to preserve just the proxy context, so if needed, please feel free to reopen this issue.
from mc.
Related Issues (20)
- Update README HOT 1
- Better test HOT 2
- Modifier naming HOT 3
- Need to prepare guidance docs HOT 1
- Enhance UCS Contract with CREATE2 Compatibility HOT 1
- Need to set the correct ERC-7201 Storage Slot HOT 1
- TODOs for DevKit HOT 1
- Versioning HOT 1
- Older Solidity version support HOT 2
- Temporarily Disable Verifiability Check on Broadcast Until --broadcast Detection is Implemented HOT 2
- feat: Facade Generator
- Clean install and errors: Mutable dev script is in the immutable view function.
- Clean install and errors: "this.setImplementation"
- [Tasks] Repository Management
- [Tasks] DevKit
- [Tasks] Std Functions
- StorageReader does not work when the schema includes a mapping
- Register project with Soldeer, the new package manager for Foundry
- MCTest displays This contract has a payable fallback function, but no receive ether function.
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 mc.