Skip to content

Commit b6bb1d7

Browse files
authored
Merge branch 'master' into dev-ffi-cheatcode
2 parents e34a996 + 6e1ef9c commit b6bb1d7

File tree

79 files changed

+1868
-1125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1868
-1125
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Build artifacts
2929
run: mdbook build
3030
- name: Upload artifact
31-
uses: actions/upload-pages-artifact@v1
31+
uses: actions/upload-pages-artifact@v2
3232
with:
3333
path: ./book
3434
deploy:

.github/workflows/echidna.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ jobs:
115115
config: Popsicle.yaml
116116
contract: PopsicleFixed
117117
outcome: success
118-
expected: 'totalBalanceAfterTransferIsPreserved(address,uint256):\s*passed'
118+
expected: 'totalBalanceAfterTransferIsPreserved(address,uint256):\s*passing'
119119
- name: TestDepositWithPermit
120120
workdir: program-analysis/echidna/example/
121121
files: TestDepositWithPermit.sol
122122
solc-version: 0.8.0
123123
config: testdeposit.yaml
124124
contract: TestDepositWithPermit
125125
outcome: success
126-
expected: 'testERC20PermitDeposit(uint256):\s*passed'
126+
expected: 'testERC20PermitDeposit(uint256):\s*passing'
127127
- name: MultiABI
128128
workdir: program-analysis/echidna/example/
129129
files: multiabi.sol

.github/workflows/lint_links.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ on:
1212
- ".github/workflows/lint_links.yml"
1313
- "**.md"
1414
schedule:
15-
# run CI at 09:00, on day 1 of the month even if no PRs/merges occur
16-
- cron: "0 9 1 * *"
15+
# run CI at 09:00 every Tuesday even if no PRs/merges occur
16+
- cron: "0 9 * * 2"
1717

1818
jobs:
1919
markdown-link-check:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@master
22+
- uses: actions/checkout@v3
2323
- uses: gaurav-nelson/github-action-markdown-link-check@v1
2424
with:
2525
use-quiet-mode: "yes"
26+
check-modified-files-only: ${{ (github.event_name == 'pull_request' && 'yes') || 'no' }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.DS_Store
2+
node_modules

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Bug reports and feature suggestions can be submitted to our issue tracker. For b
1010

1111
## Questions
1212

13-
Questions can be submitted to the issue tracker, but you may get a faster response if you ask in our [chat room](https://empireslacking.herokuapp.com/) (in the #ethereum channel).
13+
Questions can be submitted to the issue tracker, but you may get a faster response if you ask in our [chat room](https://slack.empirehacking.nyc/) (in the #ethereum channel).
1414

1515
## Code
1616

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ We welcome contributions, and you can contribute by following our [contributing
1616
- [Learn EVM](./learn_evm): EVM technical knowledge
1717
- [EVM Opcodes](./learn_evm/evm_opcodes.md): Details on all EVM opcodes
1818
- [Transaction Tracing](./learn_evm/tracing.md): Helper scripts and guidance for generating and navigating transaction traces
19+
- [Arithmetic Checks](./learn_evm/arithmetic-checks.md): A guide to performing arithmetic checks in the EVM
1920
- [Yellow Paper Guidance](./learn_evm/yellow-paper.md): Symbol reference for more easily reading the Ethereum yellow paper
2021
- [Forks <> EIPs](./learn_evm/eips_forks.md): Summarize the EIPs included in each Ethereum fork
2122
- [Forks <> CIPs](./learn_evm/cips_forks.md): Summarize the CIPs and EIPs included in each Celo fork _(EVM-compatible chain)_

SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [Learn EVM](./learn_evm/README.md)
1111
- [EVM Opcode Reference](./learn_evm/evm_opcodes.md)
1212
- [Transaction Tracing](./learn_evm/tracing.md)
13+
- [Arithmetic Checks](./learn_evm/arithmetic-checks.md)
1314
- [Yellow Paper Guidance](./learn_evm/yellow-paper.md):
1415
- [Forks <> EIPs](./learn_evm/eips_forks.md)
1516
- [Forks <> CIPs](./learn_evm/cips_forks.md)
@@ -79,6 +80,7 @@
7980
- [How to test bytecode-only contracts](./program-analysis/echidna/advanced/testing-bytecode.md)
8081
- [How to use hevm cheats to test permit](./program-analysis/echidna/advanced/hevm-cheats-to-test-permit.md)
8182
- [How to seed Echidna with unit tests](./program-analysis/echidna/advanced/end-to-end-testing.md)
83+
- [How to fuzz contracts with external libraries](./program-analysis/echidna/advanced/working-with-libraries.md)
8284
- [Understanding and using `multi-abi`](./program-analysis/echidna/advanced/using-multi-abi.md)
8385
- [Interacting with off-chain data via FFI cheatcode](./program-analysis/echidna/advanced/interacting-with-offchain-data-via-ffi.md)
8486
- [Fuzzing tips](./program-analysis/echidna/fuzzing_tips.md)

book

Lines changed: 0 additions & 1 deletion
This file was deleted.

book.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ no-section-label = true
1515
additional-css = ["static/custom.css"]
1616
additional-js = ["static/script.js"]
1717
default-theme = "light"
18+
mathjax-support = true
1819

1920
[output.html.fold]
2021
enable = true

development-guidelines/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
List of smart contract development best practices
1+
List of Best Practices for Smart Contract Development
22

3-
- [High-level best practices](./guidelines.md): High-level best-practices for all smart contracts
4-
- [Token integration checklist](./token_integration.md): What to check when interacting with arbitrary tokens
5-
- [Incident Response Recommendations](./incident_response.md): Guidelines on how to formulate an incident response plan
6-
- [Secure development workflow](./workflow.md): A rough, high-level process to follow while you write code
3+
- [High-Level Best Practices](./guidelines.md): Essential high-level best practices for all smart contracts
4+
- [Token Integration Checklist](./token_integration.md): Important aspects to consider when interacting with various tokens
5+
- [Incident Response Recommendations](./incident_response.md): Guidelines on establishing an effective incident response plan
6+
- [Secure Development Workflow](./workflow.md): A recommended high-level process to adhere to while writing code

0 commit comments

Comments
 (0)