Resources – 资源区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Resources – 资源区块链毕设代写 是一篇很好的国外资料

Resources - 资源

Resources - 资源 Resources - 资源 Resources - 资源 Resources - 资源

Nova gives your L2 contracts the power to read and write to L1 with minimal latency and no trust tradeoffs.

Resources

  • Developer docs + integration guide

  • Technical specification/whitepaper

Contributing

Resources - 资源

Unit Tests

npm run unit-tests

Unit Tests With Coverage

After running tests with coverage, an lcov report will be exported to coverage/index.html.

If you are on MacOS you can quickly open the report with npm run open-coverage-report.

npm run coverage

Update Gas Snapshots

If you make a contribution that changes the gas usage of the contracts, run this command before committing.

npm run gas-changed

Integration Tests

You must start up an instance of Optimism’s “ops” repo before running integration tests.

npm run integration-tests

Kovan Integration Tests

You must set the PRIVATE_KEY and KOVAN_RPC_URL environment variables before running integration tests on Kovan.

npm run kovan-integration-tests

Fuzz With Echidna

You must install Echidna before fuzzing.

npm run fuzz deep {{CONTRACT_NAME}}

Replace {{CONTRACT_NAME}} with a contract that is fuzzed in contracts/echidna. A full list can be found here:

https://github.com/Rari-Capital/nova/blob/master/.github/workflows/fuzz.yml#L13-L14

There are 3 fuzz “modes” setup for this project:

  • deep enters coverage guided inputs until it is halted manually.

    • It uses coverage guided fuzzing, which makes it quite slow.
    • It is the most comprehensive mode (if run for long enough).
  • long enters random inputs for 5 hours before halting.

    • It does not use coverage guided fuzzing.
    • Is less comprehensive than deep.
  • quick enters random inputs for 20 minutes before halting.

    • It does not use coverage guided fuzzing.
    • Is less comprehensive than long.

To use any of these modes simply run the command above but replace deep with the mode you wish to use (long,quick, or deep).


Resources - 资源

Nova让您的二级合约能够以最小的延迟和无信任权衡的方式读写到一级

开发者文档+集成指南

资源

  • 技术规范/白皮书输入覆盖率引导输入,直到手动停止。它使用覆盖率引导的模糊,这使得它非常慢。这是最全面的模式(如果运行时间足够长)
  • 它使用覆盖率引导的模糊,这使得它非常慢

贡献

如果您在MacOS上,您可以使用npm run open coverage report快速打开报告

单元测试

npm run unit-tests

覆盖范围的单元测试

如果您的贡献改变了合同的天然气使用量,请在提交之前运行此命令

在运行集成测试之前,必须启动乐观主义的“ops”回购实例

npm run coverage

集成测试

在KOVAN上运行集成测试之前,必须设置PRIVATE_KEY和KOVAN_RPC_URL环境变量

npm run gas-changed

科万集成测试

在起毛之前必须安装针鼹

npm run integration-tests

与针鼹>模糊开发者文档+集成指南
  • 技术规范/白皮书输入覆盖率引导输入,直到手动停止。它使用覆盖率引导的模糊,这使得它非常慢。这是最全面的模式(如果运行时间足够长)
  • 它使用覆盖率引导的模糊,这使得它非常慢
  • 这是最全面的模式(如果运行时间足够长)
  • long在停止前输入随机输入5小时。它不使用覆盖率引导的模糊。深度不如全面
  • 它不使用覆盖率引导的模糊
  • 不如说全面,不如说深刻
  • 快速输入随机输入20分钟后停止。它不使用覆盖率引导的模糊。比long更不全面它不使用fuzzing覆盖
  • 不如long全面
  • 将{{CONTRACT_NAME}替换为在contracts/echidna中模糊化的CONTRACT。可以在此处找到完整列表:

    npm run kovan-integration-tests

    Fuzz With Echidna

    https://github.com/Rari-Capital/nova/blob/master/.github/workflows/fuzz.yml#L13-L14此项目有3种模糊“模式”设置:

    npm run fuzz deep {{CONTRACT_NAME}}

    深度输入覆盖率引导输入,直到手动停止

    long在停止前输入随机输入5小时

    quick在停止前输入随机输入20分钟

    • 这是最全面的模式(如果运行时间足够长)
    • 不如说全面,不如说深刻
    • quick enters random inputs for 20 minutes before halting.

      • It does not use coverage guided fuzzing.
      • Is less comprehensive than long.

    To use any of these modes simply run the command above but replace deep with the mode you wish to use (long,quick, or deep).

    部分转自网络,侵权联系删除区块链源码网

    www.interchains.cc

    https://www.interchains.cc/23438.html

    区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
    区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » Resources – 资源区块链毕设代写

    提供最优质的资源集合

    立即查看 了解详情