Commit 5a0f4ad
Fix devnet1 OrdersGateway: stale default broke EIP-712 signing (PRO-164)
The non-mainnet default verifyingContract (0x5a0a...) is the older reya_cronos
deployment and is stale for devnet1, where the live OrdersGateway is
0x7Ec89E555c771D2B5939aBE5C4E4291852633D4D — confirmed by reya-devops
(ORDERS_GATEWAY_PROXY_ADDRESS across every devnet1 service incl. ws-exec) and
the reya-deployments reya_devnet fork test. With REYA_ORDERS_GATEWAY unset, the
SDK signed against the wrong contract and the matching engine rejected every
order with an opaque "invalid signature" error.
- config.py: point the non-mainnet baked-in default at the devnet1 gateway.
- .env.example: set REYA_ORDERS_GATEWAY for devnet1 (+ commented mainnet value)
so following the example works out of the box.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent c02ffc6 commit 5a0f4ad
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments