Unify subscription pricing to 10 USDC, update documentation, and improve manual payment address copy experience

This commit is contained in:
2569718930@qq.com
2026-05-20 09:20:07 +08:00
parent 95192e8b58
commit 9ff0685756
11 changed files with 14 additions and 11 deletions
+1
View File
@@ -11,6 +11,7 @@ def _setup_env(monkeypatch, tmp_path):
'[{"code":"usdc_e","address":"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174","decimals":6,"receiver_contract":"0xeD2f13Aa5fF033c58FB436E178451Cd07f693f32","is_default":true}]',
)
monkeypatch.setenv("POLYWEATHER_DB_PATH", str(tmp_path / "payments.db"))
monkeypatch.delenv("POLYWEATHER_PAYMENT_DIRECT_RECEIVER_ADDRESS", raising=False)
def test_direct_intent_does_not_require_bound_wallet(monkeypatch, tmp_path):
+1
View File
@@ -18,6 +18,7 @@ def _payment_env(monkeypatch, tmp_path):
'[{"code":"usdc_e","address":"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174","decimals":6,"receiver_contract":"0xeD2f13Aa5fF033c58FB436E178451Cd07f693f32","is_default":true}]',
)
monkeypatch.setenv("POLYWEATHER_DB_PATH", str(tmp_path / "payments.db"))
monkeypatch.delenv("POLYWEATHER_PAYMENT_DIRECT_RECEIVER_ADDRESS", raising=False)
def test_payment_runtime_state_and_audit_event_roundtrip(tmp_path):