Commit 488d32e
fix: use node.getContract() for multi-PXE contract sharing in v4
In v4, instead of reconstructing contract instance from params, get it
from the node directly using node.getContract(). This avoids triggering
the forbidden sync_state during registration.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0f85d70 commit 488d32e
1 file changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
112 | 126 | | |
113 | 127 | | |
114 | 128 | | |
| |||
0 commit comments