Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
foundry-toolchain
Advanced tools
This GitHub Action installs [Foundry](https://github.com/foundry-rs/foundry), the blazing fast, portable and modular toolkit for Ethereum application development.
foundry-toolchain
ActionThis GitHub Action installs Foundry, the blazing fast, portable and modular toolkit for Ethereum application development.
on: [push]
name: test
jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run tests
run: forge test -vvv
- name: Run snapshot
run: forge snapshot
Name | Required | Default | Description | Type |
---|---|---|---|---|
version | No | nightly | Version to install, e.g. nightly or 1.0.0 . Note: Foundry only has nightly builds for the time being. | string |
This action matches Forge's behavior and caches all RPC responses in the ~/.foundry/cache/rpc
directory. This is done to
speed up the tests and avoid hitting the rate limit of your RPC provider.
The logic of the caching is as follows:
Note that if you are fuzzing in your fork tests, the RPC cache strategy above will not work unless you set a fuzz seed. You might also want to reduce your number of RPC calls by using Multicall.
You can add the output of Forge and Cast commands to GitHub step summaries. The summaries support GitHub flavored Markdown.
For example, to add the output of forge snapshot
to a summary, you would change the snapshot step to:
- name: Run snapshot
run: NO_COLOR=1 forge snapshot >> $GITHUB_STEP_SUMMARY
See the official GitHub docs for more information.
FAQs
This GitHub Action installs [Foundry](https://github.com/foundry-rs/foundry), the blazing fast, portable and modular toolkit for Ethereum application development.
We found that foundry-toolchain demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.