Skip to content

Commit f0243d1

Browse files
committed
Merge branch 'main' into feat/status-updates
2 parents a109167 + 78c9f66 commit f0243d1

File tree

502 files changed

+9101
-1834
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

502 files changed

+9101
-1834
lines changed

.github/workflows/ci-solana-contract.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ jobs:
4242
if: success() || failure()
4343
- name: Run sdk tests
4444
run: cargo test --package pyth-solana-receiver-sdk
45+
working-directory: target_chains/solana/pyth_solana_receiver_sdk
4546
if: success() || failure()

Cargo.lock

Lines changed: 50 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/developer-hub/content/docs/entropy/best-practices.mdx

Lines changed: 0 additions & 57 deletions
This file was deleted.

apps/developer-hub/content/docs/entropy/contract-addresses.mdx renamed to apps/developer-hub/content/docs/entropy/chainlist.mdx

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
11
---
2-
title: Contract Addresses
2+
title: Chainlist and Fee Details
33
description: Pyth Entropy contract addresses on EVM networks
4+
icon: FileText
45
---
56

67
import { EntropyTable } from "../../../src/components/EntropyTable";
78

89
## Mainnets
910

11+
<InfoBox variant="warning">
12+
<div>
13+
The fees for mainnet are dynamically set. Always use the on-chain method
14+
`entropy.getFeeV2()` to get the current fee.
15+
</div>
16+
</InfoBox>
17+
18+
The following tables shows the total fees payable when using the **default provider**.
19+
Note that the fees shown below will vary over time with prevailing gas prices on each chain.
20+
1021
The Entropy contract is deployed on the following mainnet chains:
1122

1223
<EntropyTable isMainnet={true} />
@@ -16,10 +27,18 @@ The Entropy contract is deployed on the following mainnet chains:
1627
The default provider on mainnet has a reveal delay to avoid changes on the outcome of the Entropy request because of block reorgs.
1728
The reveal delay shows how many blocks should be produced after the block including the request transaction in order to reveal and submit a callback transaction.
1829

19-
The default provider fulfills the request by sending a transaction with a gas limit as mentioned in above table. Entropy callbacks the consumer as part of this transaction.
30+
The default provider fulfills the request by sending a transaction with a gas limit as mentioned in above table or as set by the user in the request.
31+
Entropy callbacks the consumer as part of this transaction.
2032

2133
## Testnets
2234

35+
<InfoBox variant="info">
36+
<div>
37+
The fees for testnets kept deliberately low and different from the mainnet
38+
fees.
39+
</div>
40+
</InfoBox>
41+
2342
The Entropy contract is deployed on the following testnet chains:
2443

2544
<EntropyTable isMainnet={false} />

0 commit comments

Comments
 (0)