mirror of
https://github.com/zama-ai/fhevm-solidity.git
synced 2026-01-10 04:57:59 -05:00
chore: fixed publish
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
node-version: 20.x
|
||||
- run: cp .env.example .env
|
||||
- run: npm ci --include=optional
|
||||
- run: PRIVATE_KEY_GATEWAY_RELAYER=$(grep PRIVATE_KEY_GATEWAY_RELAYER .env.example | cut -d '"' -f 2) & npx hardhat task:computePredeployAddress --private-key "$PRIVATE_KEY_GATEWAY_DEPLOYER" & npm run compile
|
||||
- run: npm run compile
|
||||
- uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
2
.github/workflows/publishprerelease.yml
vendored
2
.github/workflows/publishprerelease.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
node-version: 20.x
|
||||
- run: cp .env.example .env
|
||||
- run: npm ci --include=optional
|
||||
- run: PRIVATE_KEY_GATEWAY_RELAYER=$(grep PRIVATE_KEY_GATEWAY_RELAYER .env.example | cut -d '"' -f 2) & npx hardhat task:computePredeployAddress --private-key "$PRIVATE_KEY_GATEWAY_DEPLOYER" & npm run compile
|
||||
- run: npm run compile
|
||||
- uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
|
||||
with:
|
||||
tag: prerelease
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -74,7 +74,6 @@ typings/
|
||||
.env
|
||||
.env.test
|
||||
gateway/.env.gateway
|
||||
gateway/lib/PredeployAddress.sol
|
||||
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
.cache
|
||||
|
||||
6
gateway/lib/PredeployAddress.sol
Normal file
6
gateway/lib/PredeployAddress.sol
Normal file
@@ -0,0 +1,6 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
pragma solidity ^0.8.24;
|
||||
|
||||
address constant GATEWAY_CONTRACT_PREDEPLOY_ADDRESS = 0xc8c9303Cd7F337fab769686B593B87DC3403E0ce;
|
||||
|
||||
Reference in New Issue
Block a user