Skip to content

Commit

Permalink
Multi payment fixes (#652)
Browse files Browse the repository at this point in the history
Added multi contract address
  • Loading branch information
scx1332 authored Oct 5, 2023
1 parent 7b7a14c commit 7b2c1ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions goth/payment_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ERC20_MAINNET_REQUIRED_CONFIRMATIONS": REQUIRED_CONFIRMATIONS_COUNT,
"MAINNET_GETH_ADDR": "http://ethereum-mainnet:8545",
"MAINNET_MAX_FEE_PER_GAS": "1.0",
"MAINNET_MULTI_PAYMENT_CONTRACT_ADDRESS": "0xFf807885934003A35b1284d7445fc83Fd23417e5",
"MAINNET_PRIORITY_FEE": "1.0",
"MAINNET_GLM_CONTRACT_ADDRESS": GLM_CONTRACT_ADDRESS,
"YA_PAYMENT_NETWORK": "mainnet",
Expand All @@ -27,6 +28,7 @@
"ERC20_GOERLI_REQUIRED_CONFIRMATIONS": REQUIRED_CONFIRMATIONS_COUNT,
"GOERLI_GETH_ADDR": "http://ethereum-goerli:8545",
"GOERLI_MAX_FEE_PER_GAS": "1.0",
"GOERLI_MULTI_PAYMENT_CONTRACT_ADDRESS": "0xFf807885934003A35b1284d7445fc83Fd23417e5",
"GOERLI_PRIORITY_FEE": "1.0",
"GOERLI_TGLM_CONTRACT_ADDRESS": GLM_CONTRACT_ADDRESS,
"YA_PAYMENT_NETWORK": "goerli",
Expand All @@ -40,6 +42,7 @@
"ERC20_POLYGON_REQUIRED_CONFIRMATIONS": REQUIRED_CONFIRMATIONS_COUNT,
"POLYGON_GETH_ADDR": "http://ethereum-polygon:8545",
"POLYGON_MAX_FEE_PER_GAS": "30.0",
"POLYGON_MULTI_PAYMENT_CONTRACT_ADDRESS": "0xFf807885934003A35b1284d7445fc83Fd23417e5",
"POLYGON_PRIORITY_FEE": "30.0",
"POLYGON_GLM_CONTRACT_ADDRESS": GLM_CONTRACT_ADDRESS,
"YA_PAYMENT_NETWORK": "polygon",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude = '/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|venv|\.svn|_build

[tool.poetry]
name = "goth"
version = "0.15.7"
version = "0.15.8"
description = "Golem Test Harness - integration testing framework"
authors = ["Golem Factory <[email protected]>"]
license = "GPL-3.0"
Expand Down
4 changes: 4 additions & 0 deletions test/integration/test_payment_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@
"YA_PAYMENT_NETWORK": "polygon",
"POLYGON_GETH_ADDR": "http://ethereum-polygon:8545",
"POLYGON_GLM_CONTRACT_ADDRESS": "0xFDFEF9D10d929cB3905C71400ce6be1990EA0F34",
"POLYGON_MULTI_PAYMENT_CONTRACT_ADDRESS": "0xFf807885934003A35b1284d7445fc83Fd23417e5",
"ERC20_POLYGON_REQUIRED_CONFIRMATIONS": 0,
},
"erc20_mainnet": {
"YA_PAYMENT_NETWORK": "mainnet",
"MAINNET_GETH_ADDR": "http://ethereum-mainnet:8545",
"MAINNET_GLM_CONTRACT_ADDRESS": "0xFDFEF9D10d929cB3905C71400ce6be1990EA0F34",
"MAINNET_MULTI_PAYMENT_CONTRACT_ADDRESS": "0xFf807885934003A35b1284d7445fc83Fd23417e5",
"ERC20_MAINNET_REQUIRED_CONFIRMATIONS": 0,
},
"erc20": {
"YA_PAYMENT_NETWORK": "goerli",
"GOERLI_GETH_ADDR": "http://ethereum-goerli:8545",
"GOERLI_TGLM_CONTRACT_ADDRESS": "0xFDFEF9D10d929cB3905C71400ce6be1990EA0F34",
"GOERLI_MULTI_PAYMENT_CONTRACT_ADDRESS": "0xFf807885934003A35b1284d7445fc83Fd23417e5",
"ERC20_GOERLI_REQUIRED_CONFIRMATIONS": 0,
},
}
Expand Down

0 comments on commit 7b2c1ec

Please sign in to comment.