Skip to content

Commit

Permalink
Merge pull request #177 from maticnetwork/fix/rlp
Browse files Browse the repository at this point in the history
fix/rlp
  • Loading branch information
ethyla authored Dec 6, 2024
2 parents 5fbd35b + b48a3b4 commit b95fe9b
Show file tree
Hide file tree
Showing 61 changed files with 60,327 additions and 26,601 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/ci.yml

This file was deleted.

61 changes: 61 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: CI

on:
pull_request:
workflow_dispatch:

env:
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Show Forge version
run: |
forge --version
- name: Setup Node.js environment
uses: actions/setup-node@v1
with:
node-version: "10.24.1"
- name: Cache npm dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-cache-
- name: Install npm dependencies
run: npm install

- name: generate interfaces
run: npm run generate:interfaces

# - name: Run Forge fmt
# run: |
# forge fmt --check
# id: fmt

- name: Run Forge build
run: |
forge build --sizes
id: build

- name: Run Forge tests
run: |
forge test -vvv --no-match-test "SkipCI"
id: test
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ tenderly.yaml
contracts/ChainConstants.sol

contracts/dump.json

.env
cache
forge-cache
artifacts
out
scripts/helpers/interfaces
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ npm i @maticnetwork/pos-portal
Make sure you've NodeJS & NPM installed

```bash
user:pos-portal anjan$ node --version
v12.18.1
node --version
v10.24.1

user:pos-portal anjan$ npm --version
6.14.5
npm --version
6.14.12
```

Clone repository & install all dependencies
Expand Down Expand Up @@ -271,5 +271,4 @@ npm run truffle exec scripts/update-implementation.js -- --network <network-name
Set list of contract addresses and new owner address in `6_change_owners.js` migration script
Set `MNEMONIC` and `API_KEY` as env variables
```bash
npm run change-owners -- --network <network-name>
```
npm run change-owners -- --network <network-name>
1 change: 0 additions & 1 deletion artifacts/BaseChildTunnel.json

This file was deleted.

1 change: 0 additions & 1 deletion artifacts/BaseRootTunnel.json

This file was deleted.

1 change: 0 additions & 1 deletion artifacts/ChainExitERC1155Predicate.json

This file was deleted.

1 change: 0 additions & 1 deletion artifacts/ChainExitERC1155PredicateProxy.json

This file was deleted.

Loading

0 comments on commit b95fe9b

Please sign in to comment.