Skip to content

Commit 07a816a

Browse files
committed
chore(test-suite): remove inline comments in .env (#1362)
1 parent d0d53cd commit 07a816a

File tree

4 files changed

+34
-24
lines changed

4 files changed

+34
-24
lines changed

test-suite/fhevm/env/staging/.env.gateway-mocked-payment

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ CHAIN_ID_GATEWAY=54321
1010
# =============================================================================
1111
# IMPORTANT: For testing only - move to secure storage in production
1212
MNEMONIC=coyote sketch defense hover finger envelope celery urge panther venue verb cheese
13-
DEPLOYER_PRIVATE_KEY=0xe746bc71f6bee141a954e6a49bc9384d334e393a7ea1e70b50241cb2e78e9e4c # accounts[1]
14-
TX_SENDER_PRIVATE_KEY=0xcb97ef45d352446a6adf810cf8f63c73ada027160c271da9bb8cfcb3d944d257 # accounts[3] (relayer account)
13+
# accounts[1] - Gateway
14+
DEPLOYER_PRIVATE_KEY=0xe746bc71f6bee141a954e6a49bc9384d334e393a7ea1e70b50241cb2e78e9e4c
15+
# accounts[3] - Gateway (relayer account)
16+
TX_SENDER_PRIVATE_KEY=0xcb97ef45d352446a6adf810cf8f63c73ada027160c271da9bb8cfcb3d944d257
1517

1618
# =============================================================================
17-
# EXPECTED MOCKED PAYMENT BRIDGING CONTRACT ADDRESSES
19+
# EXPECTED MOCKED PAYMENT BRIDGING CONTRACT ADDRESSES
1820
# =============================================================================
1921
ZAMA_OFT_ADDRESS=0x5ffdaAB0373E62E2ea2944776209aEf29E631A64
2022

test-suite/fhevm/env/staging/.env.gateway-sc

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ RPC_URL=http://gateway-node:8546
66
CHAIN_ID_GATEWAY=54321
77

88
# =============================================================================
9-
# EXPECTED MOCKED PAYMENT BRIDGING CONTRACT ADDRESSES
9+
# EXPECTED MOCKED PAYMENT BRIDGING CONTRACT ADDRESSES
1010
# =============================================================================
1111
ZAMA_OFT_ADDRESS=0x5ffdaAB0373E62E2ea2944776209aEf29E631A64
12-
FEES_SENDER_TO_BURNER_ADDRESS=0x0000111122223333444455556666777788889999 # (address) (can be anything except address(0))
12+
# (address) (can be anything except address(0))
13+
FEES_SENDER_TO_BURNER_ADDRESS=0x0000111122223333444455556666777788889999
1314

1415
# =============================================================================
1516
# EXPECTED GATEWAY CONTRACT ADDRESSES
@@ -23,8 +24,10 @@ PAUSER_SET_ADDRESS=0xfd79448E3cf99F7838B4F19d94C0B5b2471Acfaf
2324
# =============================================================================
2425
# IMPORTANT: For testing only - move to secure storage in production
2526
MNEMONIC=coyote sketch defense hover finger envelope celery urge panther venue verb cheese
26-
DEPLOYER_ADDRESS=0xCf28E90D4A6dB23c34E1881aEF5fd9fF2e478634 # accounts[1]
27-
DEPLOYER_PRIVATE_KEY=0xe746bc71f6bee141a954e6a49bc9384d334e393a7ea1e70b50241cb2e78e9e4c # accounts[1]
27+
# accounts[1] - Gateway
28+
DEPLOYER_ADDRESS=0xCf28E90D4A6dB23c34E1881aEF5fd9fF2e478634
29+
# accounts[1] - Gateway
30+
DEPLOYER_PRIVATE_KEY=0xe746bc71f6bee141a954e6a49bc9384d334e393a7ea1e70b50241cb2e78e9e4c
2831

2932
# =============================================================================
3033
# PROTOCOL CONFIGURATION
@@ -48,8 +51,8 @@ COPROCESSOR_THRESHOLD=1
4851

4952
NUM_KMS_NODES=1
5053

51-
# KMS Node 1
52-
KMS_TX_SENDER_ADDRESS_0=0x31de9c8ac5ecd5eaceddddee531e9bad8ac9c2a5 # account[0] (address)
54+
# KMS Node 1 (accounts[0] - Gateway)
55+
KMS_TX_SENDER_ADDRESS_0=0x31de9c8ac5ecd5eaceddddee531e9bad8ac9c2a5
5356
KMS_SIGNER_ADDRESS_0=0xb575E4834b183ad6bBD5Ff57d54D1dbc678fc870
5457
KMS_NODE_IP_ADDRESS_0=
5558
KMS_NODE_STORAGE_URL_0=http://minio:9000/kms-public
@@ -60,9 +63,9 @@ KMS_NODE_STORAGE_URL_0=http://minio:9000/kms-public
6063
NUM_COPROCESSORS=1
6164

6265
# Coprocessor 1
63-
# Coprocessor addresses are the transaction senders' addresses
64-
COPROCESSOR_TX_SENDER_ADDRESS_0=0x6254A198F67ad40290a2E7B48aDB2d19B71f67BD # accounts[5]
65-
COPROCESSOR_SIGNER_ADDRESS_0=0x6254A198F67ad40290a2E7B48aDB2d19B71f67BD # accounts[5]
66+
# Coprocessor addresses are the transaction senders' addresses (accounts[5] - Gateway)
67+
COPROCESSOR_TX_SENDER_ADDRESS_0=0x6254A198F67ad40290a2E7B48aDB2d19B71f67BD
68+
COPROCESSOR_SIGNER_ADDRESS_0=0x6254A198F67ad40290a2E7B48aDB2d19B71f67BD
6669
COPROCESSOR_S3_BUCKET_URL_0=http://minio:9000/ct128
6770

6871
# =============================================================================
@@ -71,9 +74,9 @@ COPROCESSOR_S3_BUCKET_URL_0=http://minio:9000/ct128
7174
NUM_CUSTODIANS=1
7275

7376
# Custodian 1
74-
# Custodian addresses are the transaction senders' addresses
75-
CUSTODIAN_TX_SENDER_ADDRESS_0="0x6764Bf471F841dDdc804A03e97Cb76b135faA54c" # accounts[6]
76-
CUSTODIAN_SIGNER_ADDRESS_0="0x6764Bf471F841dDdc804A03e97Cb76b135faA54c" # accounts[6]
77+
# Custodian addresses are the transaction senders' addresses (accounts[6] - Gateway)
78+
CUSTODIAN_TX_SENDER_ADDRESS_0="0x6764Bf471F841dDdc804A03e97Cb76b135faA54c"
79+
CUSTODIAN_SIGNER_ADDRESS_0="0x6764Bf471F841dDdc804A03e97Cb76b135faA54c"
7780
CUSTODIAN_ENCRYPTION_KEY_0="0xea8b8b710d770493a41b588808ea8e09d986561f73d523227718233f3b4742de793f18a9885136a9e7054b00ba0050a17f0c7d1bf180aaff5ece0fa3343afb1b"
7881

7982
# =============================================================================
@@ -93,13 +96,16 @@ HOST_CHAIN_WEBSITE_0=
9396
# =============================================================================
9497
NUM_PAUSERS="1"
9598

96-
# Pauser 1
97-
PAUSER_ADDRESS_0="0x34B344B40eA9Ef21Da5653468a072780d19B1fa4" # accounts[7] (address)
99+
# Pauser 1 (accounts[7] - Gateway)
100+
PAUSER_ADDRESS_0="0x34B344B40eA9Ef21Da5653468a072780d19B1fa4"
98101

99102
# =============================================================================
100103
# ProtocolPayment
101104
# =============================================================================
102105
# The prices are in $ZAMA base unit (using 18 decimals)
103-
INPUT_VERIFICATION_PRICE="10000000000000000000" # (uint256, 10 $ZAMA)
104-
PUBLIC_DECRYPTION_PRICE="10000000000000000000" # (uint256, 10 $ZAMA)
105-
USER_DECRYPTION_PRICE="1000000000000000000" # (uint256, 1 $ZAMA)
106+
# (uint256, 10 $ZAMA)
107+
INPUT_VERIFICATION_PRICE="10000000000000000000"
108+
# (uint256, 1 $ZAMA)
109+
PUBLIC_DECRYPTION_PRICE="1000000000000000000"
110+
# (uint256, 1 $ZAMA)
111+
USER_DECRYPTION_PRICE="1000000000000000000"

test-suite/fhevm/env/staging/.env.host-sc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ PAUSER_SET_CONTRACT_ADDRESS=0x52054F36036811ca418be59e41Fc6DD1b9e4F4c8
1111
# =============================================================================
1212
# IMPORTANT: For testing only - move to secure storage in production
1313
MNEMONIC=adapt mosquito move limb mobile illegal tree voyage juice mosquito burger raise father hope layer
14-
DEPLOYER_PRIVATE_KEY=2d24c36c57e6bfbf90c43173481cc00edcbd1a3922de5e5fdb9aba5fc4e0fafd # accounts[9] - Host
14+
# accounts[9] - Host
15+
DEPLOYER_PRIVATE_KEY=2d24c36c57e6bfbf90c43173481cc00edcbd1a3922de5e5fdb9aba5fc4e0fafd
1516

1617
# =============================================================================
1718
# CONTRACT ADDRESSES
@@ -41,5 +42,5 @@ COPROCESSOR_SIGNER_ADDRESS_0=0x6254A198F67ad40290a2E7B48aDB2d19B71f67BD
4142
# =============================================================================
4243
NUM_PAUSERS="1"
4344

44-
# Pauser 1
45-
PAUSER_ADDRESS_0="0xa44366bAA26296c1409AD1e284264212029F02f1" # accounts[2] (address)
45+
# Pauser 1 (accounts[2] - Host)
46+
PAUSER_ADDRESS_0="0xa44366bAA26296c1409AD1e284264212029F02f1"

test-suite/fhevm/env/staging/.env.relayer

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# WALLET CONFIGURATION - SENSITIVE
33
# =============================================================================
44
# IMPORTANT: For testing only - move to secure storage in production
5-
APP_GATEWAY__TX_ENGINE__PRIVATE_KEY=0xcb97ef45d352446a6adf810cf8f63c73ada027160c271da9bb8cfcb3d944d257 # accounts[3] - gateway
5+
# accounts[3] - Gateway
6+
APP_GATEWAY__TX_ENGINE__PRIVATE_KEY=0xcb97ef45d352446a6adf810cf8f63c73ada027160c271da9bb8cfcb3d944d257
67

78
# Key URL configuration
89
APP_KEYURL__FHE_PUBLIC_KEY__DATA_ID="fhe-public-key-data-id"

0 commit comments

Comments
 (0)