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

STAGING -> MASTER #4430

Merged
merged 46 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
5e6e3e2
Set the default targetPeers value to 45 (#4340)
mat-if Oct 20, 2023
0e2d65a
removing filter connected identities from address manager (#4381)
patnir Oct 20, 2023
619a539
adds sdk support for sending minted assets in same tx (#4382)
hughy Oct 20, 2023
455c8fb
Add sorted function to priority queue and move to utils (#4380)
danield9tqh Oct 20, 2023
a02995a
changes Note.memo() to return Buffer (#4384)
hughy Oct 23, 2023
2da7d5a
removing node name from hidden in the peer command (#4385)
patnir Oct 23, 2023
4e7a3fb
Add better peer selection logic to the syncer (#4371)
mat-if Oct 24, 2023
eabfd47
Rahul/ifl 1757 address manager improvements (#4367)
patnir Oct 24, 2023
d5d4e5a
Remove getPeerOrThrow function (#4387)
danield9tqh Oct 24, 2023
4d91b06
address manager doesn't require the peer manager reference anymore (#…
patnir Oct 25, 2023
c56d503
rename hosts store and address manager (#4389)
patnir Oct 25, 2023
bdbca94
moving findPeer log lower to avoid constant spam of the message (#4394)
mat-if Oct 26, 2023
0a5e20e
Move PeerManager start/stop functions near constructor (#4393)
mat-if Oct 26, 2023
344b543
Simplify ArrayUtils.sample (#4397)
danield9tqh Oct 26, 2023
101e95e
removing unused set function in peer candidates (#4396)
patnir Oct 26, 2023
c980404
Support a minimum of NodeJS v18 (#4395)
mat-if Oct 26, 2023
5985066
Simplify displaying NetworkMessage in logs (#4399)
danield9tqh Oct 26, 2023
e443be8
Move compute state from connections into setState (#4392)
danield9tqh Oct 27, 2023
a56825a
Simplify error handling in identify message code (#4400)
danield9tqh Oct 27, 2023
e283052
Test multiple NodeJS versions in CI (#4398)
mat-if Oct 30, 2023
c4cba1d
adding save and create file mutex (#4402)
patnir Oct 30, 2023
76eb0d3
Normalize WebSocket fields on Peer (#4403)
danield9tqh Oct 30, 2023
ed71570
Normalize WS Address on Peer Candidates (#4404)
danield9tqh Oct 30, 2023
4e9e462
adding peer direction to rpc peers command (#4405)
patnir Oct 31, 2023
e55708e
Return null from peer.getWebSocketAddress if there is no address (#4406)
danield9tqh Oct 31, 2023
c5016cf
simplifying logic in peer connection manager - connectToEligiblePeers…
patnir Nov 1, 2023
b0be2e6
combining call on state changed to one location (#4409)
patnir Nov 1, 2023
4b03420
updates getTransactionStream for relay integration (#4390)
hughy Nov 1, 2023
2f14c8d
Upgrade node-datachannel to 0.4.3 for NodeJS 20 support (#4411)
mat-if Nov 1, 2023
fc64c5a
chore: add --rpc.auth flag as option to `ironfish start` command (#4412)
jowparks Nov 1, 2023
23b2ec4
move wallet tests that are timing out on CI to slow tests (#4415)
mat-if Nov 2, 2023
9294419
tryDisposePeer and getConnectionRetry (#4414)
patnir Nov 3, 2023
4c87ca5
Replace old hard-coded default numbers with config (#4416)
mat-if Nov 3, 2023
31184b5
Implement a safer file write function (#4419)
mat-if Nov 3, 2023
a6ff3ed
Add keepOpenPeerSlot flag; disconnect from peers if above limit (#4410)
mat-if Nov 6, 2023
f8d8b01
Use connected peers when deciding peer limits (#4350)
mat-if Nov 6, 2023
c41468d
Remove fishtank and simulator
andiflabs Nov 6, 2023
232f56a
Use WSAddress type on incoming WS connections (#4413)
danield9tqh Nov 6, 2023
e260dad
Update `@babel/traverse` to 7.23.2 (#4423)
andiflabs Nov 6, 2023
7e548e6
Update ironfish-rust build-dependencies (#4424)
andiflabs Nov 6, 2023
8076bbb
fixing file store test flaky ness (#4425)
patnir Nov 6, 2023
abb0d6f
Only loop through peer candidates if we can create new connections (#…
mat-if Nov 6, 2023
7fdc0cb
returning list of brokering peers to try a variety of brokering peers…
patnir Nov 6, 2023
d54e3fe
Fix tests using os.tmpdir() (#4428)
NullSoldier Nov 6, 2023
7e28e20
Bump to version 1.12.0 (#4427)
danield9tqh Nov 6, 2023
fa0736c
Remove TODO around test network ID (#4429)
NullSoldier Nov 6, 2023
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
4 changes: 2 additions & 2 deletions .github/workflows/build-ironfish-rust-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18
cache: yarn

- name: Install Rust
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18

- name: Download artifacts
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-regenerate-fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18
cache: 'yarn'

- name: Cache Rust
Expand Down
55 changes: 17 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18
cache: 'yarn'

- name: Install packages
Expand All @@ -39,9 +39,13 @@ jobs:
- name: Lint
run: yarn lint

test:
name: Test
test-matrix:
name: Test Matrix
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
test-type: ["test", "test:slow"]

steps:
- name: Check out Git repository
Expand All @@ -50,7 +54,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: ${{ matrix.version }}
cache: 'yarn'

- name: Cache Rust
Expand All @@ -62,7 +66,7 @@ jobs:
run: yarn --non-interactive --frozen-lockfile

- name: Run tests
run: yarn test:coverage --maxWorkers=2 --workerIdleMemoryLimit=2000MB
run: yarn ${{ matrix.test-type}}:coverage --maxWorkers=2 --workerIdleMemoryLimit=2000MB

- name: Check for missing fixtures
run: |
Expand All @@ -75,38 +79,13 @@ jobs:
if: github.repository == 'iron-fish/ironfish'
run: CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} ROOT_PATH=$GITHUB_WORKSPACE/ yarn coverage:upload

testslow:
name: Slow Tests
# This is a workaround to have status checks on jobs that use a matrix.
# See: https://github.com/orgs/community/discussions/26822
test:
if: ${{ always() }}
runs-on: ubuntu-latest

name: Test
needs: [test-matrix]
steps:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
cache: 'yarn'

- name: Cache Rust
uses: Swatinem/rust-cache@v2
with:
shared-key: nodejs

- name: Install packages
run: yarn --non-interactive --frozen-lockfile

- name: Run slow tests & coverage
run: yarn test:slow:coverage --maxWorkers=2 --workerIdleMemoryLimit=2000MB

- name: Check for missing fixtures
run: |
if [[ $(git status | grep fixture) ]]; then
echo "New test fixtures have not been checked in, please check them in."
exit 1
fi

- name: Upload coverage
if: github.repository == 'iron-fish/ironfish'
run: CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} ROOT_PATH=$GITHUB_WORKSPACE/ yarn coverage:upload
- run: exit 1
if: ${{ !contains(needs.*.result, 'success')}}
2 changes: 1 addition & 1 deletion .github/workflows/deploy-brew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18
cache: 'yarn'

- name: Build Ironfish CLI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-npm-ironfish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: yarn

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-npm-ironfish-rust-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: yarn

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-npm-ironfish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: yarn

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/perf_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18
cache: 'yarn'

- name: Install packages
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/publish-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- host: ubuntu-20.04
arch: x86_64
system: linux

- host: [self-hosted, macOS, ARM64]
arch: arm64
system: apple
Expand All @@ -32,7 +32,6 @@ jobs:
# - host: ubuntu-20.04
# arch: aarch64
# system: linux


# - host: ubuntu-20.04
# target: aarch64-apple-darwin
Expand All @@ -50,11 +49,11 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.12.1'
node-version: 18

- name: npm init
run: npm init -y

- name: install dependencies
run: npm install ironfish [email protected]

Expand All @@ -63,7 +62,7 @@ jobs:
run: |
npx caxa --uncompression-message "Running the CLI for the first time may take a while, please wait..." --input . --output "${{ matrix.settings.system != 'windows' && 'ironfish' || 'ironfish.exe' }}" -- "{{caxa}}/node_modules/.bin/node" "--enable-source-maps" "{{caxa}}/node_modules/ironfish/bin/run"
echo "RELEASE_NAME=ironfish-${{ matrix.settings.system }}-${{ matrix.settings.arch }}-${{ github.event.release.tag_name }}.zip"

- name: set paths
id: set_paths
shell: bash
Expand Down
96 changes: 21 additions & 75 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading