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.
buidler-test-isolater
Advanced tools
Reinitialize the Buidler Runtime Environment before each Mocha test.
yarn add --dev buidler-test-isolater
Load plugin in Buidler config:
usePlugin('buidler-test-isolater');
This plugin is intended for use in combination with the buidler-ganache
plugin when testing against a forked network. Re-initializing the network before each test prevents errors such as the following:
Error: Returned error: project ID does not have access to archive state
This plugin is not compatible with Mocha describe
-level exclusive tests.
Isolated tests are run via a temporary file .buidler_test_isolater_tmp.js
created in the buidler tests
directory. This file is deleted upon test completion, but may not be removed if test execution halts unexpectedly; therefore, it should be added to the .gitignore
file or deleted manually.
FAQs
Run each Mocha test in a separate BRE
We found that buidler-test-isolater 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.