-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Payments: Mainnet/testnet preparation #912
Conversation
Introduced changes to the payment service and payment driver API necessary for supporting both mainnet and testnet in a single Yagna daemon process. This changes require drivers to be network-aware. Signed-off-by: Adam Wierzbicki <awierzbicki@golem.network>
07e64d7
to
9ed8557
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
2 nitty comments / questions
checking ya-client side now
* Added missing call to `get_networks()` in driver registration. * Changed default platform from 'ZK-NGNT' to 'zksync-rinkeby-tglm'. * Removed upper-casing platforms (that was introduced to distinguish platform names from driver names which is no longer an issue since adopting the <driver>-<network>-<token> convention). * Fixed account registration for dummy driver (missing network and token names). Signed-off-by: Adam Wierzbicki <awierzbicki@golem.network>
951fe9a
to
8c7190d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve for provider part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Introduced changes to the payment service and payment driver API necessary for supporting both mainnet and testnet in a single Yagna daemon process. This changes require drivers to be network-aware.
TODO: