Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add forc-node command for easily bootstrapping a node #6473

Merged
merged 37 commits into from
Feb 15, 2025
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c8aea71
feat: implement a forc-node plugin for easily bootstrapping a fuel-co…
kayagokalp Nov 28, 2024
417bfc7
refactor: remove duplicated code-paths
kayagokalp Dec 2, 2024
2ba0c6a
chore: remove wasm bytecodes and benchmarks
kayagokalp Dec 2, 2024
c4ed2ec
feat: config fetcher implemented
kayagokalp Dec 6, 2024
2b5d8af
feat: finalize downloader
kayagokalp Dec 11, 2024
caf0e0d
chore: remove chain configs
kayagokalp Dec 12, 2024
f605b99
chore: spellcheck
kayagokalp Dec 12, 2024
440a3da
chore: add doc comments
kayagokalp Dec 12, 2024
afe7a25
apply code review
kayagokalp Dec 12, 2024
5704de3
chore: fmt cargo.toml
kayagokalp Dec 12, 2024
91b8e10
chore: lint
kayagokalp Dec 12, 2024
b0ca40b
chore: review suggestions
kayagokalp Dec 12, 2024
c4b94c8
Apply suggestions from code review
kayagokalp Dec 17, 2024
2eed5fe
Apply suggestions from code review
kayagokalp Dec 17, 2024
ca4cc9d
Merge branch 'master' into kayagokalp/forc-node-local
sdankel Jan 10, 2025
8ad7354
feat: local with persistent db support
kayagokalp Jan 13, 2025
b542926
chore: apply remaining comments
kayagokalp Jan 13, 2025
9b4f914
feat: print command always
kayagokalp Jan 14, 2025
9e2b660
test: add health integration test
kayagokalp Jan 14, 2025
bb1bd3f
change test name
kayagokalp Jan 14, 2025
c962157
fix: error formating
kayagokalp Jan 14, 2025
e54c0e3
feat: generate keygen if user does not have one
kayagokalp Jan 14, 2025
7872a7f
feat: remove unused deps and format the toml file
kayagokalp Jan 14, 2025
f59a38b
chore: fix ci
kayagokalp Jan 21, 2025
7fac0b6
Merge branch 'master' into kayagokalp/forc-node-local
kayagokalp Jan 21, 2025
1da68e4
fix: merging conflicts
kayagokalp Jan 21, 2025
3b33b99
toml and spell check
kayagokalp Jan 21, 2025
093c977
fix ordering
kayagokalp Jan 21, 2025
72fd6b0
docs: add forc-node auto doc page
kayagokalp Jan 21, 2025
0794447
Merge branch 'master' into kayagokalp/forc-node-local
sdankel Jan 24, 2025
91c14fe
chore: disable integration tests
kayagokalp Feb 3, 2025
dd585a0
Merge branch 'master' into kayagokalp/forc-node-local
kayagokalp Feb 14, 2025
21a859d
re-add cargo.lock
kayagokalp Feb 14, 2025
fa81b22
Merge branch 'master' into kayagokalp/forc-node-local
kayagokalp Feb 14, 2025
a4237a0
update lock file
kayagokalp Feb 14, 2025
809b6b2
use constants
kayagokalp Feb 14, 2025
901d1c3
apply review suggestions
kayagokalp Feb 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- cargo-run-e2e-test-release
- cargo-test-forc-debug
- cargo-test-forc-client
- cargo-test-forc-node
- notify-slack-on-failure
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -239,6 +240,7 @@ jobs:
cargo install --locked --debug --path ./forc-plugins/forc-doc
cargo install --locked --debug --path ./forc-plugins/forc-tx
cargo install --locked --debug --path ./forc-plugins/forc-crypto
cargo install --locked --debug --path ./forc-plugins/forc-node
cargo install --locked --debug --path ./forc-plugins/forc-migrate
cargo install --locked --debug forc-explore
- name: Install mdbook-forc-documenter
Expand Down Expand Up @@ -645,6 +647,27 @@ jobs:
mv fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core /usr/local/bin/fuel-core
- name: Run tests
run: cargo test --locked --release -p forc-client -- --test-threads 1
cargo-test-forc-node:
runs-on: buildjet-4vcpu-ubuntu-2204
needs: get-fuel-core-version
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_VERSION }}
targets: "x86_64-unknown-linux-gnu, wasm32-unknown-unknown"
- uses: Swatinem/rust-cache@v2
with:
cache-provider: "buildjet"
- name: Install fuel-core for tests
run: |
curl -sSLf https://github.com/FuelLabs/fuel-core/releases/download/v${{ needs.get-fuel-core-version.outputs.fuel_core_version }}/fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu.tar.gz -L -o fuel-core.tar.gz
tar -xvf fuel-core.tar.gz
chmod +x fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core
mv fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core /usr/local/bin/fuel-core
- name: Run tests
run: cargo test --locked --release -p forc-node -- --test-threads 1
cargo-test-sway-lsp:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
Expand Down Expand Up @@ -686,7 +709,7 @@ jobs:
with:
cache-provider: "buildjet"
- name: Run tests
run: cargo test --locked --release --workspace --exclude forc-debug --exclude sway-lsp --exclude forc-client --exclude forc
run: cargo test --locked --release --workspace --exclude forc-debug --exclude sway-lsp --exclude forc-client --exclude forc --exclude forc-node
cargo-unused-deps-check:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
Expand Down
Loading
Loading