We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 863dfd5 commit 670dde7Copy full SHA for 670dde7
1 file changed
src/Serializer/GlobalStateSerializer.php
@@ -12,8 +12,8 @@ class GlobalStateSerializer extends JsonSerializer
12
public static function toJson($globalState): array
13
{
14
return array(
15
- 'node_id' => BlockHeaderSerializer::toJson($globalState->getBlockHeader()),
16
- 'address' => StoredValueSerializer::toJson($globalState->getStoredValue()),
+ 'block_header' => BlockHeaderSerializer::toJson($globalState->getBlockHeader()),
+ 'stored_value' => StoredValueSerializer::toJson($globalState->getStoredValue()),
17
);
18
}
19
0 commit comments