Skip to content

Commit

Permalink
Merge branch 'main' into sabnock/deprecate-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabnock01 authored Nov 11, 2023
2 parents b23ec6f + ab09821 commit 64050f0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ AUTHORSHIP_TOKEN_PRIVATE_KEY="0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
CURTA_PRIVATE_KEY="0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"

# RPC endpoints
RPC_URL_CONSTELLATION=""
RPC_URL_GOERLI=""
RPC_URL_MAINNET=""
RPC_URL_BASE_GOERLI=""
RPC_URL_BASE_MAINNET=""

# API keys
ETHERSCAN_KEY=""
BASESCAN_KEY=""
2 changes: 1 addition & 1 deletion .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ DeployMainnetTest:test_authorshipTokenIssueLengthEquality() (gas: 11460)
DeployMainnetTest:test_authorshipTokenMinting() (gas: 91601)
DeployMainnetTest:test_authorshipTokenOwnerEquality() (gas: 13799)
DeployMainnetTest:test_curtaOwnerEquality() (gas: 13832)
OptimizationsTest:testFuzzComputePhaseFromTimestampBranchlessOptimization(uint40,uint40) (runs: 256, μ: 3545, ~: 3531)
OptimizationsTest:testFuzzComputePhaseFromTimestampBranchlessOptimization(uint40,uint40) (runs: 256, μ: 3543, ~: 3531)
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,7 @@ Create a file named `.env` at the root of the project and copy the contents of `
<td>The account to deploy <code>Curta</code></td>
</tr>
<tr>
<td rowspan="3">RPC endpoints</td>
<td><code>RPC_URL_CONSTELLATION</code></td>
<td>An RPC endpoint for the Constellation chain</td>
</tr>
<tr>
<td rowspan="4">RPC endpoints</td>
<td><code>RPC_URL_GOERLI</code></td>
<td>An RPC endpoint for Goerli</td>
</tr>
Expand All @@ -139,10 +135,24 @@ Create a file named `.env` at the root of the project and copy the contents of `
<td>An RPC endpoint for mainnet</td>
</tr>
<tr>
<td rowspan="1">API keys</td>
<td><code>RPC_URL_BASE_GOERLI</code></td>
<td>An RPC endpoint for Base Goerli</td>
</tr>
<tr>
<td><code>RPC_URL_BASE_MAINNET</code></td>
<td>An RPC endpoint for Base mainnet</td>
</tr>
<tr>
<td rowspan="2">API keys</td>
<td><code>ETHERSCAN_KEY</code></td>
<td>An <a href="https://etherscan.io" target="_blank" rel="noreferrer noopener"><b>Etherscan</b></a> API key for verifying contracts</td>
</tr>
<tr>
<td><code>BASESCAN_KEY</code></td>
<td>A <a href="https://basescan.org" target="_blank"
rel="noreferrer noopener"><b>Basescan</b></a> API key for verifying
contracts</td>
</tr>
</tbody>
<table>

Expand Down
3 changes: 2 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ quote_style = "double"
number_underscore = "thousands"

[rpc_endpoints]
constellation = "${RPC_URL_CONSTELLATION}"
goerli = "${RPC_URL_GOERLI}"
mainnet = "${RPC_URL_MAINNET}"
base_goreli = "${RPC_URL_BASE_GOERLI"
base_mainnet = "${RPC_URL_BASE_MAINNET}"

[etherscan]
goerli = {key = "${ETHERSCAN_KEY}", url = "https://api-goerli.etherscan.io/api"}
Expand Down

0 comments on commit 64050f0

Please sign in to comment.