-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from celo-org/fix/feeCurrency-black-magic
feecurrency fixes
- Loading branch information
Showing
16 changed files
with
585 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": [ | ||
"@changesets/changelog-github", | ||
{ "repo": "celo-org/web3-plugin-transaction-types" } | ||
], | ||
|
||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [], | ||
"snapshot": { | ||
"useCalculatedVersion": true, | ||
"prereleaseTemplate": "{tag}-{commit}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@celo/web3-plugin-transaction-types": patch | ||
--- | ||
|
||
Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
TEST_ACCOUNT_1="0x0000000000000000000000000000000000000000000000000000000000000000" | ||
TEST_ACCOUNT_2="0x0000000000000000000000000000000000000000000000000000000000000000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Release Packages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
- "prerelease/*" | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
jobs: | ||
release: | ||
name: Prepare or Publish | ||
runs-on: ["self-hosted", "org", "npm-publish"] | ||
permissions: | ||
contents: write | ||
id-token: write | ||
pull-requests: write | ||
repository-projects: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: foundry-rs/foundry-toolchain@v1 | ||
- uses: oven-sh/setup-bun@v2 | ||
|
||
- uses: docker://us-west1-docker.pkg.dev/devopsre/akeyless-public/akeyless-action:latest | ||
with: | ||
api-url: https://api.gateway.akeyless.celo-networks-dev.org | ||
access-id: p-kf9vjzruht6l | ||
static-secrets: '{"/static-secrets/NPM/npm-publish-token":"NPM_TOKEN"}' | ||
|
||
- run: bun install | ||
- run: rm -rf node_modules/@celo/dev-utils/node_modules | ||
|
||
- uses: changesets/action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ env.NPM_TOKEN }} | ||
with: | ||
# This expects you to have a script called release which does a build for your packages and calls changeset publish | ||
publish: bun run prepublishOnly | ||
version: | | ||
bun x changeset version && | ||
bun install && | ||
rm -rf node_modules/@celo/dev-utils/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ | |
!.eslintrc.js | ||
!jest.config.js | ||
lib | ||
*.tsbuildinfo.env | ||
*.tsbuildinfo* | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
".": "./lib/index.js" | ||
}, | ||
"peerDependencies": { | ||
"web3": ">= 4.0.2 < 5" | ||
"web3": ">= 4.13.1 < 5" | ||
}, | ||
"devDependencies": { | ||
"@celo/dev-utils": "^0.0.5", | ||
|
@@ -37,13 +37,16 @@ | |
"eslint-plugin-jest": "^28.6.0", | ||
"typescript": "^5.5.4", | ||
"typescript-eslint": "^7.17.0", | ||
"web3": "^4.11.1" | ||
"web3": "4.13.1-dev.cc99825.0" | ||
}, | ||
"dependencies": { | ||
"@celo/abis": "^11.0.0", | ||
"@celo/abis-l2": "npm:@celo/[email protected]", | ||
"web3-eth-accounts": "^4.1.3", | ||
"web3-utils": "^4.3.1" | ||
"web3-eth-accounts": "4.2.2-dev.cc99825.0", | ||
"web3-utils": "4.3.2-dev.cc99825.0" | ||
}, | ||
"resolutions": { | ||
"web3-eth": "4.9.1-dev.cc99825.0" | ||
}, | ||
"patchedDependencies": { | ||
"@celo/[email protected]": "patches/@celo%[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.