Commit 6f9c718
authored
fix: read contract_interface from Stacks node block events (#712)
Reads a deployed smart contract ABI from `contract_interface` instead of
`contract_abi` in `/new_block` events. We still keep support for the old
property in case someone runs chainhook with an older Stacks node or TSV
file.1 parent 5c74a55 commit 6f9c718
File tree
2 files changed
+5
-2
lines changed- components
- chainhook-cli/src/service/tests/helpers
- chainhook-sdk/src/indexer/stacks
2 files changed
+5
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
456 | 458 | | |
457 | 459 | | |
458 | 460 | | |
459 | | - | |
| 461 | + | |
460 | 462 | | |
461 | 463 | | |
462 | 464 | | |
| |||
0 commit comments