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

Bangkok #6

Draft
wants to merge 80 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
aa29432
docs: review and edits
yuxizama Sep 2, 2024
3f471a9
docs: review and edits
yuxizama Sep 2, 2024
ea329c2
docs: review and edits
yuxizama Sep 2, 2024
0511e4d
chore: update hardhat-upgrades plugin
jatZama Sep 25, 2024
02aa2d3
fix: mocked working when changing .env
jatZama Sep 25, 2024
a91ab1c
Merge pull request #514 from zama-ai/hh-update
jatZama Sep 25, 2024
b5c3234
feat: set null FHE gas prices + remove Payment lib
jatZama Sep 27, 2024
7b24a8c
chore: removed useless file
jatZama Sep 27, 2024
76275f9
Merge pull request #535 from zama-ai/removePayment
jatZama Sep 27, 2024
b8e90c5
Update decrypt.md - typo
poppyseedDev Oct 1, 2024
d9aea38
added issue templates for bug report fhevm, fhevmjs, docs, custom rep…
poppyseedDev Oct 1, 2024
228709a
feat: moved input KMS sig checking in KMSVerifier
jatZama Oct 1, 2024
6f4cb04
Merge pull request #545 from zama-ai/InputKMS
jatZama Oct 2, 2024
b6ce593
Merge pull request #543 from zama-ai/poppyseedDev-patch-1
poppyseedDev Oct 2, 2024
9c26ac3
minimal changes
poppyseedDev Oct 3, 2024
e04a0ee
shortening how the issue is displayed
poppyseedDev Oct 3, 2024
b737b6d
feat: use dynamic lists in fhevmjsMocked
jatZama Oct 3, 2024
c97075b
Merge pull request #546 from zama-ai/fhevmjsMockedInput
jatZama Oct 3, 2024
e69a44f
prettier
poppyseedDev Oct 3, 2024
02482fa
feat: native InputVerifier
jatZama Oct 3, 2024
ab6fb5a
Merge pull request #547 from zama-ai/inputVerifierNative
jatZama Oct 4, 2024
0943a08
feat: use fhevm deployer private key for deployment
jatZama Oct 4, 2024
3823ba1
Merge pull request #552 from zama-ai/deploymentTasks
jatZama Oct 4, 2024
11a3350
docs: removed obsolete links
jatZama Oct 7, 2024
be852a3
chore: removed file copying need for InputVerifier deployment
jatZama Oct 7, 2024
cbc92ca
Update docs/fundamentals/contracts.md
poppyseedDev Oct 7, 2024
87dddeb
Update docs/fundamentals/acl.md
poppyseedDev Oct 7, 2024
d0a3ef6
Update docs/fundamentals/decrypt.md
poppyseedDev Oct 7, 2024
77509fc
docs: prettified
poppyseedDev Oct 7, 2024
4ab149e
Merge branch 'main' of github.com:zama-ai/fhevm into doc-review-4
poppyseedDev Oct 7, 2024
a525111
docs: dead links removed
poppyseedDev Oct 7, 2024
31fc5cc
docs: prettified
poppyseedDev Oct 7, 2024
f1030b6
docs: dead links removed
poppyseedDev Oct 7, 2024
b771beb
Merge pull request #495 from zama-ai/doc-review-4
poppyseedDev Oct 7, 2024
525d498
feat: useAddress optional parameters for deployment, gateway deployer…
jatZama Oct 7, 2024
423134e
Merge branch 'main' into simplifiedDeployment
jatZama Oct 7, 2024
ada674c
docs: apply suggestions from code review
poppyseedDev Oct 7, 2024
2b25f8f
Merge pull request #553 from zama-ai/simplifiedDeployment
jatZama Oct 7, 2024
dc78c07
docs: prettier
poppyseedDev Oct 7, 2024
04ffb5d
Merge branch 'main' of github.com:zama-ai/fhevm into doc-review-5
poppyseedDev Oct 7, 2024
0a70994
docs: Apply suggestions from code review
poppyseedDev Oct 7, 2024
a698bd4
Merge pull request #496 from zama-ai/doc-review-5
poppyseedDev Oct 7, 2024
a2f7d82
docs: prettier
poppyseedDev Oct 7, 2024
1b209c8
Merge pull request #493 from zama-ai/Doc-review-3
poppyseedDev Oct 7, 2024
eef0666
feat: added etherscan verification task
jatZama Oct 7, 2024
d1cd3e7
Merge pull request #559 from zama-ai/etherscanVerification
jatZama Oct 7, 2024
8f9945d
docs: merged unclear docs and bug docs template into one
poppyseedDev Oct 8, 2024
f371bd6
feat: adds upgrade tasks
jatZama Oct 8, 2024
f1642be
chore: refactored task and added optional verifyContract
jatZama Oct 8, 2024
8d226c6
Merge pull request #561 from zama-ai/upgradeScripts
jatZama Oct 8, 2024
43a8d3d
feat: adds getter functions for address constants
jatZama Oct 8, 2024
6421932
Merge pull request #563 from zama-ai/getterFunctions
jatZama Oct 9, 2024
5a4b356
Merge pull request #544 from zama-ai/templates
poppyseedDev Oct 9, 2024
294c85d
ci: fix YAML error
poppyseedDev Oct 9, 2024
0b9c219
ci: name FHEVM change to fhEVM
poppyseedDev Oct 9, 2024
8a59ebb
ci: added emojies to name
poppyseedDev Oct 9, 2024
ed5aa6c
Merge pull request #565 from zama-ai/templates-quick-fix
poppyseedDev Oct 9, 2024
7ca92ca
chore: fixed typo
jatZama Oct 9, 2024
e31a007
Merge pull request #566 from zama-ai/fixedTypos
jatZama Oct 9, 2024
7d178ca
feat: adds localCoprocessor config
jatZama Oct 9, 2024
ed70ea5
Merge pull request #567 from zama-ai/configCoprocessorLocal
manoranjith Oct 9, 2024
23a4639
feat: splits launch-fhevm.sh in 2 scripts
jatZama Oct 9, 2024
331945e
Merge pull request #568 from zama-ai/separate2scripts
jatZama Oct 9, 2024
f76de69
chore: updates fhevmjs and fhevmjsMocked to v0.6
jatZama Oct 9, 2024
f51b435
Merge pull request #569 from zama-ai/fhevmjs06
jatZama Oct 10, 2024
4a4dfac
docs: update docs for fhevmjs
immortal-tofu Oct 10, 2024
28ca0a6
Merge pull request #573 from zama-ai/docs/fhevmjs-060
immortal-tofu Oct 11, 2024
45e860d
feat: updated TFHEExecutor to support new types
jatZama Oct 10, 2024
1066174
Merge pull request #572 from zama-ai/newTypes
jatZama Oct 18, 2024
c345bc0
Minor fixes when running in localCoprocessor mode (#576)
manoranjith Oct 18, 2024
9eabcf6
chore: awaitDeployment
jatZama Oct 18, 2024
fc57471
Merge pull request #578 from zama-ai/awaitDeployment
jatZama Oct 18, 2024
78c5fe9
chore: fixed typo initializing relayer
jatZama Oct 18, 2024
c955706
Merge pull request #579 from zama-ai/typoRelayer
jatZama Oct 18, 2024
20fac87
chore: updated fhevmjs
jatZama Oct 18, 2024
dbc0ae9
Merge pull request #580 from zama-ai/fhevmjs060-3
jatZama Oct 18, 2024
d3214a1
feat: checks if userAddress is diff than contractAddress in reencrypt
jatZama Oct 19, 2024
247ce08
Merge pull request #581 from zama-ai/userDifferentContract
jatZama Oct 21, 2024
2527413
fix: Various Typescript type checker errors
silasdavis Oct 21, 2024
9b84721
feat: Make FHEVM use FHEVMConfig rather than hardcoded addresses (#5)
silasdavis Nov 4, 2024
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
21 changes: 8 additions & 13 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
export INFURA_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export MNEMONIC="adapt mosquito move limb mobile illegal tree voyage juice mosquito burger raise father hope layer"
export PRIVATE_KEY_FHEVM_DEPLOYER="0c66d8cde71d2faa29d0cb6e3a567d31279b6eace67b0a9d9ba869c119843a5e"
export PRIVATE_KEY_GATEWAY_DEPLOYER="717fd99986df414889fd8b51069d4f90a50af72e542c58ee065f5883779099c6"
export PRIVATE_KEY_GATEWAY_OWNER="717fd99986df414889fd8b51069d4f90a50af72e542c58ee065f5883779099c6"
export PRIVATE_KEY_GATEWAY_RELAYER="7ec931411ad75a7c201469a385d6f18a325d4923f9f213bd882bbea87e160b67"
export NUM_KMS_SIGNERS="1"
export PRIVATE_KEY_KMS_SIGNER_0="26698d458a21b843aa1ddbd5c5b098821ddf4218bb52498c4aad3a84849275bb"
export PRIVATE_KEY_KMS_SIGNER_1="e5b998ce1e664718772fa35e8d02b2b6a267a03a8ecadab15de5b125da7fa82b"
export PRIVATE_KEY_KMS_SIGNER_2="dca817bfe824b12c92d61e56056b956617da156bcd730379cb9203c822c9ba8e"
export PRIVATE_KEY_KMS_SIGNER_3="7ac1a2886ca07b3b7393ea5ff3613bb94d72129e2c7cbedc807eb55ff971394c"
export PRIVATE_KEY_KMS_SIGNER_0="388b7680e4e1afa06efbfd45cdd1fe39f3c6af381df6555a19661f283b97de91"
export PRIVATE_KEY_KMS_SIGNER_1="bbaed91514fa4b7c86aa4f73becbabcf4bce0ae130240f0d6ac3f87e06812440"
export PRIVATE_KEY_KMS_SIGNER_2="1bfa3e2233b0103ad67954a728b246c528916791f7fab4894ff361e3937b47e1"
export PRIVATE_KEY_KMS_SIGNER_3="7a604eed8cf4a43277d192aa0c7894d368577a4021e52bf45420f256e34c7dd7"
export PRIVATE_KEY_COPROCESSOR_ACCOUNT="7ec8ada6642fc4ccfb7729bc29c17cf8d21b61abd5642d1db992c0b8672ab901"
export IS_COPROCESSOR="true"

# Block explorer API keys
export ARBISCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export BSCSCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export ETHERSCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export OPTIMISM_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export POLYGONSCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export SNOWTRACE_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
export SEPOLIA_RPC_URL="https://sepolia.infura.io/v3/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export ETHERSCAN_API_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
12 changes: 12 additions & 0 deletions .env.example.deployment
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export PRIVATE_KEY_FHEVM_DEPLOYER="0c66d8cde71d2faa29d0cb6e3a567d31279b6eace67b0a9d9ba869c119843a5e"
export PRIVATE_KEY_GATEWAY_DEPLOYER="717fd99986df414889fd8b51069d4f90a50af72e542c58ee065f5883779099c6"
export ADDRESS_GATEWAY_RELAYER="0x97F272ccfef4026A1F3f0e0E879d514627B84E69"
export NUM_KMS_SIGNERS="4"
export ADDRESS_KMS_SIGNER_0="0x0971C80fF03B428fD2094dd5354600ab103201C5"
export ADDRESS_KMS_SIGNER_1="0xB68deCb047B5e6Cc82280502A7E2318c6b3E5eC6"
export ADDRESS_KMS_SIGNER_2="0xfe0fB0BCceb872ee7a6ef6c455e6E127Aef55DD7"
export ADDRESS_KMS_SIGNER_3="0x2dac5193bE0AB0eD8871399E6Ae61EAe6cc8cAE1"
export ADDRESS_COPROCESSOR_ACCOUNT="0xc9990FEfE0c27D31D0C2aa36196b085c0c4d456c"
export IS_COPROCESSOR="true"
export SEPOLIA_RPC_URL="https://sepolia.infura.io/v3/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export ETHERSCAN_API_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_fhevm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
name: 🐞 Smart Contracts Bug Report
about: Use this template to report issues encountered with confidential smart contracts on the fhEVM.
title: ""
labels: bug
assignees: ""
---

### **Description**

Provide a clear and detailed description of the bug.

### **Expected Behavior**

Describe what you expected to happen (e.g., successful decryption of the input, valid output from the encrypted function, no gas estimation errors).

### **Screenshots / Logs**

Include screenshots, relevant logs, or traces if available, particularly for encrypted computations or gateway interactions.

### **Smart Contract Code Snippet**

If applicable, provide a minimal reproducible example of the smart contract code highlighting the part where the issue occurs:

<details><summary>Example</summary>
<p>

```solidity
// Example
contract Counter {
uint32 value;
function increment() public {
value += 1;
}

function currentValue() public view returns (uint32) {
return value;
}
}
```

</p>
</details>

### **Environment Information**

Fill in the relevant environment details where the issue was observed:

- **Operating System**: [e.g., Ubuntu 20.04, Windows 10]
- **Browser**: [e.g., Chrome v90, Safari v14]
- **fhEVM Version**: [e.g., v1.0.0]
- **Tooling**: [Hardhat, Remix, fhEVM CLI]
- **Devnet / Local Node Configuration**:
- Chain ID: [e.g., 9000]
- RPC URL: [e.g., `https://devnet.zama.ai`]
- Faucet Usage: [Yes/No]
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_fhevmjs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
name: 🐛 fhevmjs Bug report
about: Use this template to report issues encountered while using the fhevmjs library for interacting with fhEVM smart contracts.
title: ""
labels: bug, fhevmjs
assignees: ""
---

### **Description**

Provide a clear and detailed description of the issue encountered.

### **Expected Behavior**

A clear and concise description of the expected behavior (e.g., successful encryption of parameters, correct reencryption result, accurate balance retrieval).

### **Screenshots / Logs**

If applicable, provide screenshots or logs that capture the issue. Include any console errors, warnings, or unexpected outputs.

### **Environment Information**

Fill in the relevant environment details where the issue was observed:

- **Browser**: [e.g., Chrome v90, Firefox v88]
- **Node.js Version**: [e.g., `v14.17.0`]
- **`fhEVMjs` Version**: [e.g., `v0.2.1`]
- **Package Manager**: [npm, yarn, pnpm]
- **Network Configuration**:
- **Chain ID**: [e.g., `9000`]
- **RPC URL**: [e.g., `https://devnet.zama.ai`]
- **Gateway URL**: [e.g., `https://gateway.devnet.zama.ai`]

### **Steps Taken to Debug**

Outline any steps you’ve taken to troubleshoot the issue (e.g., using mocked mode, enabling verbose logging, testing with a different environment or network).

### **Resources / References**

If applicable, include links to any related documentation or reference materials that may help us understand the context:

<details><summary>Logs or output</summary>
<p>

```console

```

</p>
</details>

---

By including these details, we can ensure a faster and more accurate resolution for your issue. Thank you for helping improve `fhevmjs`!
70 changes: 70 additions & 0 deletions .github/ISSUE_TEMPLATE/docs_bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
name: 📚 Documentation Bug Report / Unclear Documentation
about: Use this template to report issues, inconsistencies, or inaccuracies in our documentation. Or to report sections of our documentation that are unclear, confusing, or require further explanation.
title: ""
labels: bug, documentation
assignees: ""
---

### **Page Link**

Please provide a link to the page where the issue is located:
**URL**: '[https://docs.zama.ai/fhevm/\_\_\_](https://docs.zama.ai/fhevm/___)'

### **Description**

Describe in detail what part of the documentation is unclear or provide a clear and detailed description of the bug. Include any inconsistencies, typos, broken links, or missing information.

<details><summary>For example:</summary>
<p>
<li>Inaccurate technical explanations or missing prerequisites.</li>
<li>Deprecated code snippets or outdated references.</li>
<li>Formatting issues or broken links.</li>
<li>Is there a lack of explanation for certain technical terms or concepts?</li>
<li>Are there missing examples for a complex function or feature?</li>
<li>Does the documentation assume prior knowledge that hasn't been introduced?</li>
</p>
</details>

### **Suggested Fix / Expected Behavior / What Would You Like Clarified?**

Please provide your suggestions for improvement or clarification:

- Describe expected content or suggest corrections for bugs/inaccuracies.
- Explain what needs clarification for unclear documentation.

<details><summary>Examples of helpful suggestions:</summary>
<p>
<li>Corrected code snippet</li>
<li>Improved explanation.</li>
<li>Link to a more accurate or up-to-date resource</li>
</p>
</details>

<details><summary>Examples of clarification requests:</summary>
<p>
<li>“Can you provide an example of this function in use?”</li>
<li>"What are the expected inputs and outputs for this operation?”</li>
<li>“Could you add a section explaining how this feature integrates with other components?”</li>
</p>
</details>

### **Screenshots / Logs**

If applicable, provide screenshots, code snippets, or logs that clearly show the issue.

### **Impact Level**

Choose the impact of the bug on the documentation quality and user experience:

<details><summary>[Critical, Moderate, Minor]</summary>
<p>
<li><b>Critical</b>: Major error that could lead to incorrect implementation or misunderstanding.</li>
<li><b>Moderate</b>: Somewhat misleading information, but unlikely to cause implementation issues.</li>
<li><b>Minor</b>: Minor typo or aesthetic issue with no functional impact.</li>
</p>
</details>

---

By including these details, we can ensure a faster and more accurate resolution for your issue. Thank you for helping improve `fhEVM docs`!
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: 🚀 General feature request for fhEVM
about: Suggest an idea for this project
title: ""
labels: enhancement
assignees: ""
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ yarn-error.log*
lerna-debug.log*
pnpm-lock.yaml
yarn.lock
.vscode

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down Expand Up @@ -73,8 +74,6 @@ typings/
# dotenv environment variables file
.env
.env.test
gateway/.env.gateway
gateway/lib/PredeployAddress.sol

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down Expand Up @@ -137,3 +136,4 @@ deployments
typechain
typechain-types
.openzeppelin/unknown*
.openzeppelin/sepolia.json
8 changes: 2 additions & 6 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{
"printWidth": 120,
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-solidity"],
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-solidity"],
"overrides": [
{
"files": ["*.ts", ".js", ".cjs"],
"options": {
"singleQuote": true,
"importOrder": ["<THIRD_PARTY_MODULES>", "^[./]"],
"importOrderParserPlugins": ["typescript"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
"singleQuote": true
}
},
{
Expand Down
3 changes: 3 additions & 0 deletions @types/fhevmjs/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This is a horrible hack, see: https://github.com/zama-ai/fhevm/issues/582

export * from 'fhevmjs/web';
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ _More examples are available [here](https://github.com/zama-ai/fhevm/tree/main/e

#### Others

- [Governor DAO](https://github.com/zama-ai/fhevm/tree/main/examples/Governor): A DAO smart contract that facilitates governance decisions through encrypted voting.
- [Blind auction](https://github.com/zama-ai/fhevm/blob/main/examples/BlindAuction.sol): A smart contract for conducting blind auctions where bids are encrypted and the winning bid remains private.
- [Decentralized ID](https://github.com/zama-ai/fhevm/tree/main/examples/Identity): A blockchain-based identity management system using smart contracts to store and manage encrypted personal data.

_If you have built awesome projects using fhEVM, please let us know and we will be happy to showcase them here!_
<br></br>
Expand Down Expand Up @@ -253,23 +251,6 @@ npm run fhevm:start
npm run fhevm:stop
```

##### Faucet

For development purposes, we provide a ready to use wallet. In order to use
it, prepare the .env file that contains the mnemonic.

```bash
cp .env.example .env
```

This allows the developer to use a few accounts, each account can get coins:

```bash
npm run fhevm:faucet:alice
npm run fhevm:faucet:bob
npm run fhevm:faucet:carol
```

##### Run test

```bash
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/prepare_fhe_keys_ci.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -Eeuo pipefail

Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/prepare_fhe_keys_for_e2e_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -Eeuo pipefail

Expand All @@ -14,7 +14,7 @@ KEYS_FULL_PATH=$1
mkdir -p $NETWORK_KEYS_PUBLIC_PATH

MANDATORY_KEYS_LIST=('pks')

echo "check folder $KEYS_FULL_PATH"
for key in "${MANDATORY_KEYS_LIST[@]}"
do
Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/run_ERC20.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash

# This script execute a python script within a ready-to-use docker image with all the required python modules.
# This script execute a python script within a ready-to-use docker image with all the required python modules.
# The script takes two arguments:
# 1. The private key of the main account which has already funds.
# 2. (Optional) The node address (default: http://host.docker.internal:8545)
Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/run_ERC20_ci_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This script exports an Ethereum private key from an evmos node and uses it to run a Python script.
# The script takes two arguments:
Expand All @@ -25,4 +25,4 @@ PRIVATE_KEY=$(docker compose -f $PATH_TO_EVMOS/docker-compose/docker-compose.val
echo "Exported private key: $PRIVATE_KEY"

# Run the Python script with the exported private key as an argument
docker compose -f ci/docker-compose.yml run app python ci/tests/ERC20.py $PRIVATE_KEY
docker compose -f ci/docker-compose.yml run app python ci/tests/ERC20.py $PRIVATE_KEY
2 changes: 1 addition & 1 deletion ci/scripts/run_ERC20_e2e_test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# This script exports an Ethereum private key from an evmos node and uses it to run a Python script.
# The script takes two arguments:
Expand Down
Loading