Skip to content

Commit

Permalink
Merge branch 'master' into Voxelot/tx-throughput-bench
Browse files Browse the repository at this point in the history
  • Loading branch information
bvrooman committed Oct 23, 2023
2 parents 9c1e997 + bbd0992 commit 91d39df
Show file tree
Hide file tree
Showing 28 changed files with 707 additions and 378 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -478,13 +478,13 @@ jobs:
- name: Build fuel-core and fuel-core-keygen
run: |
cross build --profile=release --target ${{ matrix.job.target }} --no-default-features --features "production" -p fuel-core-bin
cross build --profile=release --target ${{ matrix.job.target }} -p fuel-core-keygen
cross build --profile=release --target ${{ matrix.job.target }} -p fuel-core-keygen-bin
- name: Strip release binary linux x86_64
if: matrix.job.platform == 'linux'
run: |
strip "target/${{ matrix.job.target }}/release/fuel-core"
strip "target/${{ matrix.job.target }}/release/fuel-core-keygen"
strip "target/${{ matrix.job.target }}/release/fuel-core-keygen-bin"
- name: Strip release binary aarch64-linux-gnu
if: matrix.job.target == 'aarch64-unknown-linux-gnu'
Expand All @@ -498,13 +498,13 @@ jobs:
"$PWD/target:/target:Z" \
aarch64-linux-gnu:latest \
aarch64-linux-gnu-strip \
/target/aarch64-unknown-linux-gnu/release/fuel-core-keygen
/target/aarch64-unknown-linux-gnu/release/fuel-core-keygen-bin
- name: Strip release binary mac
if: matrix.job.os == 'macos-latest'
run: |
strip -x "target/${{ matrix.job.target }}/release/fuel-core"
strip -x "target/${{ matrix.job.target }}/release/fuel-core-keygen"
strip -x "target/${{ matrix.job.target }}/release/fuel-core-keygen-bin"
- name: Prepare Binary Artifact
env:
Expand All @@ -523,7 +523,7 @@ jobs:
# create zip file
mkdir -pv "$ARTIFACT"
cp "target/${{ matrix.job.target }}/release/fuel-core" "$ARTIFACT"
cp "target/${{ matrix.job.target }}/release/fuel-core-keygen" "$ARTIFACT"
cp "target/${{ matrix.job.target }}/release/fuel-core-keygen-bin" "$ARTIFACT"
tar -czvf "$ZIP_FILE_NAME" "$ARTIFACT"
- name: Upload Binary Artifact
Expand Down Expand Up @@ -604,4 +604,4 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
19 changes: 19 additions & 0 deletions .github/workflows/e2e-test-beta4-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: E2E Test Beta-4

on:
schedule:
- cron: '* * * * *'

jobs:
e2e_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup e2e config secrets
run: |
export e2e_wallet_a="${{ secrets.E2E_WALLET_A }}"
export e2e_wallet_b="${{ secrets.E2E_WALLET_B }}"
envsubst < ${{ github.workspace }}/.github/workflows/e2e_config/beta-4.toml.template > ${{ github.workspace }}/.github/workflows/e2e_config/beta-4.toml
- name: Run e2e tests with docker
run: docker run -v ${{ github.workspace }}/.github/workflows/e2e_config:/etc/e2e_config -e FUEL_CORE_E2E_CONFIG='/etc/e2e_config/beta-4.toml' ghcr.io/fuellabs/fuel-core-e2e-client:v0.20.7 ./fuel-core-e2e-client -- alice
9 changes: 9 additions & 0 deletions .github/workflows/e2e_config/beta-4.toml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
endpoint = "https://beta-4.fuel.network/graphql"
wallet_sync_timeout = "10s"
full_test = false

[wallet_a]
secret = "${e2e_wallet_a}"

[wallet_b]
secret = "${e2e_wallet_b}"
20 changes: 20 additions & 0 deletions .github/workflows/releasy-dependency-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Notify downstream repos

on:
push:
branches:
- main

jobs:

notify:
runs-on: ubuntu-latest
env:
DISPATCH_TOKEN: ${{ secrets.DISPATCH_TOKEN }}
steps:
- uses: actions/checkout@v4
- run: |
git clone https://github.com/FuelLabs/releasy && cd releasy && git checkout kayagokalp/releasy-handle && cd ..
cargo install --path ./releasy/releasy-emit
releasy-emit --event new-commit-to-dependency --path ./.github/workflows/repo-plan.toml --event-commit-hash ${GITHUB_SHA}
name: Install and run releasy
14 changes: 14 additions & 0 deletions .github/workflows/repo-plan.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[current-repo]
name = "fuel-core"
owner = "FuelLabs"

[repo.fuels-rs.details]
name = "fuels-rs"
owner = "FuelLabs"

[repo.fuel-core.details]
name = "fuel-core"
owner = "FuelLabs"

[repo.fuels-rs]
dependencies = ["fuel-core"]
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ Description of the upcoming release here.

### Added

- [#1436](https://github.com/FuelLabs/fuel-core/pull/1436): Add a github action to continuously test beta-4.
- [#1430](https://github.com/FuelLabs/fuel-core/pull/1430): Add "sanity" benchmarks for crypto opcodes.
- [#1437](https://github.com/FuelLabs/fuel-core/pull/1437): Add some transaction throughput tests for basic transfers.
- [#1432](https://github.com/FuelLabs/fuel-core/pull/1432): Add a new `--api-request-timeout` argument to control TTL for GraphQL requests.
- [#1426](https://github.com/FuelLabs/fuel-core/pull/1426) Split keygen into a create and a binary
- [#1419](https://github.com/FuelLabs/fuel-core/pull/1419): Add additional "sanity" benchmarks for arithmetic op code instructions.
- [#1411](https://github.com/FuelLabs/fuel-core/pull/1411): Added WASM and `no_std` compatibility
- [#1411](https://github.com/FuelLabs/fuel-core/pull/1411): Added WASM and `no_std` compatibility.
- [#1400](https://github.com/FuelLabs/fuel-core/pull/1400): Add releasy beta to fuel-core so that new commits to fuel-core master triggers fuels-rs.
- [#1371](https://github.com/FuelLabs/fuel-core/pull/1371): Add new client function for querying the `MessageStatus` for a specific message (by `Nonce`)
- [#1356](https://github.com/FuelLabs/fuel-core/pull/1356): Add peer reputation reporting to heartbeat code
- [#1355](https://github.com/FuelLabs/fuel-core/pull/1355): Added new metrics related to block importing, such as tps, sync delays etc
Expand All @@ -31,6 +35,7 @@ Description of the upcoming release here.

### Changed

- [#1439](https://github.com/FuelLabs/fuel-core/pull/1439): Reduced memory BMT consumption during creation of the header.
- [#1434](https://github.com/FuelLabs/fuel-core/pull/1434): Continue gossiping transactions to reserved peers regardless of gossiping reputation score.
- [#1399](https://github.com/FuelLabs/fuel-core/pull/1399): The Relayer now queries Ethereum for its latest finalized block instead of using a configurable "finalization period" to presume finality.
- [#1397](https://github.com/FuelLabs/fuel-core/pull/1397): Improved keygen. Created a crate to be included from forc plugins and upgraded internal library to drop requirement of protoc to build
Expand All @@ -51,6 +56,7 @@ Description of the upcoming release here.
- [#1392](https://github.com/FuelLabs/fuel-core/pull/1392): Fixed an overflow in `message_proof`.
- [#1393](https://github.com/FuelLabs/fuel-core/pull/1393): Increase heartbeat timeout from `2` to `60` seconds, as suggested in [this issue](https://github.com/FuelLabs/fuel-core/issues/1330).
- [#1395](https://github.com/FuelLabs/fuel-core/pull/1395): Add DependentCost benchmarks for `k256`, `s256` and `mcpi` instructions.
- [#1408](https://github.com/FuelLabs/fuel-core/pull/1408): Update gas benchmarks for storage opcodes to use a pre-populated database to get more accurate worst-case costs.

#### Breaking
- [#1432](https://github.com/FuelLabs/fuel-core/pull/1432): All subscriptions and requests have a TTL now. So each subscription lifecycle is limited in time. If the subscription is closed because of TTL, it means that you subscribed after your transaction had been dropped by the network.
Expand Down
Loading

0 comments on commit 91d39df

Please sign in to comment.