Skip to content

Commit e61a26a

Browse files
committed
feat(test): add go, rust and python tests
1 parent d8ea2db commit e61a26a

File tree

13 files changed

+421
-9
lines changed

13 files changed

+421
-9
lines changed

docs/ftso/scaling/2-getting-started.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ import FetchAnchorFeedsPy from "!!raw-loader!/examples/developer-hub-python/fetc
2222
import FetchAnchorFeedsGo from "!!raw-loader!/examples/developer-hub-go/flare/fetch_anchor_feeds.go";
2323
import FetchAnchorFeedsRs from "!!raw-loader!/examples/developer-hub-rust/src/bin/fetch_anchor_feeds.rs";
2424
import FetchAndVerifyAnchorOnchainJs from "!!raw-loader!/examples/developer-hub-javascript/fetch_and_verify_anchor_onchain.js";
25+
import FetchAndVerifyAnchorOnchainPy from "!!raw-loader!/examples/developer-hub-python/fetch_and_verify_anchor_onchain.py";
26+
import FetchAndVerifyAnchorOnchainRs from "!!raw-loader!/examples/developer-hub-rust/fetch_and_verify_anchor_onchain.rs";
27+
import FetchAndVerifyAnchorOnchainGo from "!!raw-loader!/examples/developer-hub-go/fetch_and_verify_anchor_onchain.go";
2528
import FtsoV2AnchorFeedConsumer from "!!raw-loader!/examples/developer-hub-solidity/FtsoV2AnchorFeedConsumer.sol";
2629

2730
Scaling enables offchain access to anchor feeds by leveraging Flare's network of 100 independent data providers and a robust commit-reveal process every 90 seconds.
@@ -207,3 +210,12 @@ The following example shows how to query feed and proof data from DA Layer and s
207210
<CodeBlock language="javascript" title="fetch_and_verify_anchor_onchain.js">
208211
{FetchAndVerifyAnchorOnchainJs}
209212
</CodeBlock>
213+
<CodeBlock language="python" title="fetch_and_verify_anchor_onchain.py">
214+
{FetchAndVerifyAnchorOnchainPy}
215+
</CodeBlock>
216+
<CodeBlock language="rust" title="fetch_and_verify_anchor_onchain.rs">
217+
{FetchAndVerifyAnchorOnchainRs}
218+
</CodeBlock>
219+
<CodeBlock language="go" title="fetch_and_verify_anchor_onchain.go">
220+
{FetchAndVerifyAnchorOnchainGo}
221+
</CodeBlock>

examples/developer-hub-go/build/FtsoV2FeedConsumer.abi

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/developer-hub-go/coston2/FtsoV2FeedConsumer.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)