Skip to content

Commit

Permalink
Javascript console that exposes Filecoin API (#2492)
Browse files Browse the repository at this point in the history
* Add Javascript console that exposes Filecoin API

Co-authored-by: Hubert <hubert@chainsafe.io>
  • Loading branch information
elmattic and LesnyRumcajs authored Feb 22, 2023
1 parent 70731b8 commit ff0c825
Show file tree
Hide file tree
Showing 28 changed files with 6,678 additions and 36 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ jobs:
run: |
forest-cli snapshot export
sha256sum -c *.sha256sum
- name: js console
run: forest-cli --attach --exec 'showPeers()'
- name: validate snapshot
run: |
forest-cli --chain mainnet snapshot validate $SNAPSHOT_DIRECTORY/*.car --force &&
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/scripts-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,11 @@ jobs:
run: |
gem install rubocop --no-document
rubocop scripts/
run-js-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
lerna bootstrap
lerna run lint
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ genesis.json
/.cargo/*
!/.cargo/*.toml
node/rpc-api/static/ast.ron
documentation/book/**/*
documentation/book/**/*
node_modules
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Notable updates:

### Added
* [database] added ParityDb statistics to the stats endpoint. [#2444](https://github.com/ChainSafe/forest/pull/2444)
* [cli] A JavaScript console to interact with Filecoin API. [#2492](https://github.com/ChainSafe/forest/pull/2492)
* [docker] Multi-platform Docker image support. [#2552](https://github.com/ChainSafe/forest/pull/2552)
* [forest daemon] Added `--exit-after-init` and `--save-token` flags. [#2577](https://github.com/ChainSafe/forest/pull/2577)

Expand Down
Loading

0 comments on commit ff0c825

Please sign in to comment.