[fortuna] update config and abi (#1187)
* update config and abi * introduce sepolia later * update sdk readme * fix lightlink issue * update link
This commit is contained in:
parent
178ad4cb0e
commit
3ecbca7daa
|
@ -1486,7 +1486,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "fortuna"
|
||||
version = "2.0.1"
|
||||
version = "3.0.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"axum",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "fortuna"
|
||||
version = "2.0.1"
|
||||
version = "3.0.1"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -1,18 +1,6 @@
|
|||
chains:
|
||||
optimism-goerli:
|
||||
geth_rpc_addr: https://goerli.optimism.io
|
||||
contract_addr: 0x28F16Af4D87523910b843a801454AEde5F9B0459
|
||||
reveal_delay_blocks: 0
|
||||
avalanche-fuji:
|
||||
geth_rpc_addr: https://api.avax-test.network/ext/bc/C/rpc
|
||||
contract_addr: 0xD42c7a708E74AD19401D907a14146F006c851Ee3
|
||||
reveal_delay_blocks: 0
|
||||
eos-evm-testnet:
|
||||
geth_rpc_addr: https://api.testnet.evm.eosnetwork.com/
|
||||
contract_addr: 0xD42c7a708E74AD19401D907a14146F006c851Ee3
|
||||
lightlink_pegasus:
|
||||
geth_rpc_addr: https://replicator.pegasus.lightlink.io/rpc/v1
|
||||
contract_addr: 0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a
|
||||
reveal_delay_blocks: 0
|
||||
legacy_tx: true
|
||||
arbitrum-goerli:
|
||||
geth_rpc_addr: https://arbitrum-goerli.publicnode.com
|
||||
contract_addr: 0xd9eAcfFB8e80b7193042499485EF8369b08E85B6
|
||||
reveal_delay_blocks: 0
|
||||
|
|
1565
fortuna/src/abi.json
1565
fortuna/src/abi.json
File diff suppressed because it is too large
Load Diff
|
@ -189,7 +189,8 @@ impl EntropyReader for PythContract {
|
|||
) -> Result<Option<reader::Request>> {
|
||||
let r = self
|
||||
.get_request(provider_address, sequence_number)
|
||||
.block(ethers::core::types::BlockNumber::Finalized)
|
||||
// TODO: This doesn't work for lighlink right now. Figure out how to do this in lightlink
|
||||
// .block(ethers::core::types::BlockNumber::Finalized)
|
||||
.call()
|
||||
.await?;
|
||||
|
||||
|
|
|
@ -20,11 +20,9 @@ The following table lists the current deployments of entropy.
|
|||
|
||||
```
|
||||
| Chain | Entropy Address | Provider |
|
||||
|-----------------|--------------------------------------------|--------------------------------------------|
|
||||
| avalanche-fuji | 0xD42c7a708E74AD19401D907a14146F006c851Ee3 | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 |
|
||||
| optimism-goerli | 0x28F16Af4D87523910b843a801454AEde5F9B0459 | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 |
|
||||
| eos-evm-testnet | 0xD42c7a708E74AD19401D907a14146F006c851Ee3 | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 |
|
||||
| arbitrum-goerli | 0xd9eAcfFB8e80b7193042499485EF8369b08E85B6 | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 |
|
||||
|-------------------|--------------------------------------------|--------------------------------------------|
|
||||
| lightlink-pegasus | 0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 |
|
||||
|
||||
```
|
||||
|
||||
Choose one of these networks and instantiate an `IEntropy` contract in your solidity contract:
|
||||
|
|
Loading…
Reference in New Issue