Skip to content

Commit

Permalink
Merge pull request #17 from pactfi/add-nft-pool-factory-mainnet-appid
Browse files Browse the repository at this point in the history
tech(factory config): add mainnet nft pool factory app id
  • Loading branch information
Sernikjamnika authored Apr 11, 2023
2 parents 5dfc3b1 + fa551a8 commit 43179bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pactsdk/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
MAINNET_API_URL = "https://api.pact.fi"
MAINNET_GAS_STATION_ID = 1027956681
MAINNET_FACTORY_CONSTANT_PRODUCT_ID = 1072843805
MAINNET_FACTORY_NFT_CONSTANT_PRODUCT_ID = 0
MAINNET_FACTORY_NFT_CONSTANT_PRODUCT_ID = 1076423760

TESTNET_API_URL = "https://api.testnet.pact.fi"
TESTNET_GAS_STATION_ID = 156575978
Expand Down
6 changes: 3 additions & 3 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_client_config():
api_url="https://api.pact.fi",
gas_station_id=1027956681,
factory_constant_product_id=1072843805,
factory_nft_constant_product_id=0,
factory_nft_constant_product_id=1076423760,
)
assert pactsdk.get_gas_station().app_id == 1027956681

Expand All @@ -19,7 +19,7 @@ def test_client_config():
api_url="https://api.pact.fi",
gas_station_id=1027956681,
factory_constant_product_id=1072843805,
factory_nft_constant_product_id=0,
factory_nft_constant_product_id=1076423760,
)

pact = pactsdk.PactClient(algod, network="testnet")
Expand All @@ -43,7 +43,7 @@ def test_client_config():
api_url="overwritten_url",
gas_station_id=1027956681,
factory_constant_product_id=1072843805,
factory_nft_constant_product_id=0,
factory_nft_constant_product_id=1076423760,
)

pact = pactsdk.PactClient(algod, network="dev", factory_constant_product_id=123)
Expand Down

0 comments on commit 43179bb

Please sign in to comment.