Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Conversation

danforbes
Copy link
Contributor

@danforbes danforbes commented May 30, 2024

  • Ganache has been deprecated, use Hardhat
  • Use JavaScript instead of TypeScript
  • The basic smart contract guide should come before Mastering Smart Contracts
  • Improvements (more links, formatting/consistency) and simplifications

This uses an ephemeral Hardhat development network and would replace #7076

Copy link

github-actions bot commented May 30, 2024

Bundle Stats

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
10 630.32 kB 0%

Changeset

No files were changed

View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

Asset File Size % Changed
web3.min.js 611.03 kB 0%
../lib/commonjs/index.d.ts 8.69 kB 0%
../lib/commonjs/accounts.d.ts 3.89 kB 0%
../lib/commonjs/types.d.ts 2.67 kB 0%
../lib/commonjs/web3.d.ts 1.35 kB 0%
../lib/commonjs/web3_eip6963.d.ts 1.2 kB 0%
../lib/commonjs/abi.d.ts 999 B 0%
../lib/commonjs/eth.exports.d.ts 280 B 0%
../lib/commonjs/providers.exports.d.ts 183 B 0%
../lib/commonjs/version.d.ts 60 B 0%

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 89cf4a0 Previous: 8f62749 Ratio
processingTx 9187 ops/sec (±4.53%) 8813 ops/sec (±4.63%) 0.96
processingContractDeploy 40283 ops/sec (±6.66%) 35202 ops/sec (±8.08%) 0.87
processingContractMethodSend 19484 ops/sec (±6.37%) 17884 ops/sec (±5.35%) 0.92
processingContractMethodCall 39536 ops/sec (±3.94%) 34262 ops/sec (±7.43%) 0.87
abiEncode 43401 ops/sec (±7.95%) 38844 ops/sec (±8.37%) 0.90
abiDecode 30878 ops/sec (±6.74%) 26526 ops/sec (±8.50%) 0.86
sign 1577 ops/sec (±0.79%) 1546 ops/sec (±0.88%) 0.98
verify 372 ops/sec (±0.53%) 353 ops/sec (±0.78%) 0.95

This comment was automatically generated by workflow using github-action-benchmark.

Copy link

codecov bot commented May 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.98%. Comparing base (4358140) to head (89cf4a0).
Report is 259 commits behind head on 4.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              4.x    #7075      +/-   ##
==========================================
+ Coverage   87.37%   93.98%   +6.61%     
==========================================
  Files         197      215      +18     
  Lines        7548     8335     +787     
  Branches     2059     2301     +242     
==========================================
+ Hits         6595     7834    +1239     
+ Misses        953      501     -452     
Flag Coverage Δ
UnitTests 93.98% <ø> (+6.61%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
web3 ∅ <ø> (∅)
web3-core ∅ <ø> (∅)
web3-errors ∅ <ø> (∅)
web3-eth ∅ <ø> (∅)
web3-eth-abi ∅ <ø> (∅)
web3-eth-accounts ∅ <ø> (∅)
web3-eth-contract ∅ <ø> (∅)
web3-eth-ens ∅ <ø> (∅)
web3-eth-iban ∅ <ø> (∅)
web3-eth-personal ∅ <ø> (∅)
web3-net ∅ <ø> (∅)
web3-providers-http ∅ <ø> (∅)
web3-providers-ipc ∅ <ø> (∅)
web3-providers-ws ∅ <ø> (∅)
web3-rpc-methods ∅ <ø> (∅)
web3-utils ∅ <ø> (∅)
web3-validator ∅ <ø> (∅)

- Ganache has been deprecated, use Hardhat
- Use JavaScript instead of TypeScript
- Improvements (more links, formatting/consistency) and simplifications
Copy link
Contributor

@jdevcs jdevcs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approved this PR, But Instead of ephemeral Hardhat development network I think #7076 is more good approach and 7076 should be merged.

@danforbes
Copy link
Contributor Author

Closing in favor of #7076

@danforbes danforbes closed this Jun 5, 2024
@danforbes danforbes deleted the fix/docs/contract-tutorial branch June 5, 2024 12:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants