Skip to content

Commit

Permalink
fix(test): add warning in the concerned scripts (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshpinto authored Jan 8, 2025
2 parents 99d7b09 + a209aa0 commit fd574cb
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/developer-hub-go/flare/fetch_anchor_feeds.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// THIS IS EXAMPLE CODE. DO NOT USE THIS CODE IN PRODUCTION.
package flare

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// THIS IS EXAMPLE CODE. DO NOT USE THIS CODE IN PRODUCTION.
package flare

import (
Expand Down
1 change: 1 addition & 0 deletions examples/developer-hub-javascript/fetch_anchor_feeds.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// THIS IS EXAMPLE CODE. DO NOT USE THIS CODE IN PRODUCTION.
const BASE_URL = "https://flr-data-availability.flare.network/";
const API_KEY = "<your-api-key>";
// Feed IDs, see https://dev.flare.network/ftso/scaling/anchor-feeds for full list
Expand Down
1 change: 1 addition & 0 deletions examples/developer-hub-python/fetch_anchor_feeds.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# THIS IS EXAMPLE CODE. DO NOT USE THIS CODE IN PRODUCTION.
import asyncio

import aiohttp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# THIS IS EXAMPLE CODE. DO NOT USE THIS CODE IN PRODUCTION.
import asyncio

from web3 import AsyncHTTPProvider, AsyncWeb3
Expand Down
1 change: 1 addition & 0 deletions examples/developer-hub-rust/src/bin/fetch_anchor_feeds.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// THIS IS EXAMPLE CODE. DO NOT USE THIS CODE IN PRODUCTION.
#![allow(dead_code)]
#![allow(unused)]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// THIS IS EXAMPLE CODE. DO NOT USE THIS CODE IN PRODUCTION.
use crate::FtsoV2AnchorFeedConsumer::{FeedData, FeedDataWithProof};
use alloy::{
network::EthereumWallet,
Expand Down

0 comments on commit fd574cb

Please sign in to comment.