Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dl-solarity/solidity-lib
Browse files Browse the repository at this point in the history
…into feat/update-to-openzeppelin-v5
  • Loading branch information
aritkulova committed Aug 5, 2024
2 parents f4b6501 + f0443c5 commit 7cb5d08
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.ARVOLEAR_RELEASER }}
tag_name: ${{ needs.state.outputs.local_version }}
release_name: Release v${{ needs.state.outputs.local_version }}
name: Release v${{ needs.state.outputs.local_version }}
body: |
# Release notes v${{ needs.state.outputs.local_version }} 🎉
Expand Down
4 changes: 2 additions & 2 deletions scripts/versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ elif [[ ${local_version_array[2]} -gt ${registry_version_array[2]} ]]; then
version_changed="patch"
fi

echo "::set-output name=local_version::$local_version"
echo "::set-output name=version_changed::$version_changed"
echo "local_version=$local_version" >> "$GITHUB_OUTPUT"
echo "version_changed=$version_changed" >> "$GITHUB_OUTPUT"
7 changes: 2 additions & 5 deletions test/finance/vesting/Vesting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,11 @@ describe("Vesting", () => {
vestingAmount: vestingAmount * 2n,
};

const linearTx = vesting.createVesting(linearVesting);
const exponentialTx = vesting.createVesting(exponentialVesting);

await expect(linearTx)
await expect(vesting.createVesting(linearVesting))
.to.emit(vesting, "VestingCreated")
.withArgs(1, linearVesting.beneficiary, linearVesting.vestingToken);

await expect(exponentialTx)
await expect(vesting.createVesting(exponentialVesting))
.to.emit(vesting, "VestingCreated")
.withArgs(2, exponentialVesting.beneficiary, exponentialVesting.vestingToken);

Expand Down

0 comments on commit 7cb5d08

Please sign in to comment.