hello-foundry's People
Forkers
boxingcoder00 h4tabibi kcpele vielite daog1 osepatrick patrick-ehimen souvik19mukherjee83 nownosw mntaccc x3pi bluenights004 shobeirimajid sfzxc chandn0 vitalsine85 awaisahmadfg alg747 abhishek-1624 renzo1 parthmandale shubhamextraxyzhello-foundry's Issues
forge build not working
I tried to run a command after installed: forge init & forge build
but it did not work I got the error:
Error: ’build’ is not a Forge command
forge init doesn't work
Hi,
I'm new to foundry. When I try to run forge init
command I get the below error. Here are the steps I followed:
1- clone the "hello-foundry" repo
2- run command foundryup
and get response below
.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx
╔═╗ ╔═╗ ╦ ╦ ╔╗╔ ╔╦╗ ╦═╗ ╦ ╦ Portable and modular toolkit
╠╣ ║ ║ ║ ║ ║║║ ║║ ╠╦╝ ╚╦╝ for Ethereum Application Development
╚ ╚═╝ ╚═╝ ╝╚╝ ═╩╝ ╩╚═ ╩ written in Rust.
.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx
Repo : https://github.com/foundry-rs/
Book : https://book.getfoundry.sh/
Chat : https://t.me/foundry_rs/
Support : https://t.me/foundry_support/
Contribute : https://github.com/orgs/foundry-rs/projects/2/
.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx
foundryup: installing foundry (version nightly, tag nightly-ac07071240e34b07a00cad13a60a115450736bc8)
foundryup: downloading latest forge, cast, anvil, and chisel
################################################################################################################################ 100.0%
foundryup: downloading manpages
################################################################################################################################ 100.0%
foundryup: installed - forge 0.2.0 (ac07071 2023-03-26T00:04:24.930648335Z)
foundryup: installed - cast 0.2.0 (ac07071 2023-03-26T00:04:24.930648335Z)
foundryup: installed - anvil 0.1.0 (ac07071 2023-03-26T00:04:54.592068919Z)
foundryup: installed - chisel 0.1.1 (ac07071 2023-03-26T00:04:54.531990408Z)
foundryup: done
3- run forge init
and then gives me error
Error:
Cannot run `init` on a non-empty directory.
Run with the `--force` flag to initialize regardless.
Vyper.t.sol - invariant_test function no contract is fuzzed
I think the invariant_test function should not be included in Vyper.t.sol because in the YouTube video only testGet() and testStore() are tested. This test would also fail because no contract is being fuzzed.
Vyper invariant test fails
Commands
# Install Vyper
python3 -m pip install --user virtualenv
virtualenv -p python3 venv
source venv/bin/activate
pip3 install vyper==0.3.7
# run invariant test
forge test --match-path test/Vyper.t.sol --ffi
Errors
2023-05-14T07:24:53.378514Z ERROR foundry_evm::executor::inspector::cheatcodes::ext: stderr err="FileNotFoundError: [Errno 2] No such file or directory: 'vyper_contracts/*\\x19�\\r��\\x18\\x0cY�5��\\x16ʃ�Ss|큀.vy'\n"
2023-05-14T07:24:53.474806Z ERROR foundry_evm::executor::inspector::cheatcodes::ext: stderr err="FileNotFoundError: [Errno 2] No such file or directory: \"vyper_contracts/\\t2X�\\x08��)A�q�tc�\\x1cd�ٺ\\x05�l���\\x05\\x17\u{355};\\ne��'�\\x1f�T����}G�r= �7�5+�\\x1a+�U6�aNT�\\x0c�`6~I\\x1c\\x1bl�;�8���\\x1baR�.vy\"\n"
2023-05-14T07:24:53.568358Z ERROR foundry_evm::executor::inspector::cheatcodes::ext: stderr err="FileNotFoundError: [Errno 2] No such file or directory: 'vyper_contracts/\\u070f\\x06\\x1b��)PIGT���ZN/�.vy'\n"
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.