Skip to content

Commit

Permalink
fix: Block.merkelRoot -> Block.merkleRoot
Browse files Browse the repository at this point in the history
BREAKING CHANGE
  • Loading branch information
rhyslbw committed Mar 15, 2021
1 parent a661525 commit b9e1e13
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
- fees
- forgedAt
- hash
- merkelRoot
- merkleRoot
- nextBlockHash
- number
- opCert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CREATE VIEW "Block" AS
FROM tx
WHERE (tx.block_id = block.id)), (0)::NUMERIC))::bigint AS fees,
block.hash,
block.merkle_root AS "merkelRoot",
block.merkle_root AS "merkleRoot",
block.block_no AS "number",
block.op_cert AS "opCert",
previous_block.hash AS "previousBlockHash",
Expand Down
2 changes: 1 addition & 1 deletion packages/api-cardano-db-hasura/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ type Block {
slotLeader: SlotLeader!
hash: Hash32Hex!
# Ouroboros Classic Epoch Boundary blocks (EBB) do not have a block number
merkelRoot: Hash32Hex
merkleRoot: Hash32Hex
number: Int
opCert: Hash32Hex
slotInEpoch: Int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ query blocksByHashes(
epochNo
fees
hash
merkelRoot
merkleRoot
number
forgedAt
slotLeader {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const block29021 = {
epochNo: 1,
fees: 342316,
hash: '00aea2405f7cf4eb1d9e6694770ea25eeb113b857e377d22641aa1099742615d',
merkelRoot: '1acc618aebd703ab201ef790a379a0bd8748ac7a4ed4bf425e0b12f8b7afd812',
merkleRoot: '1acc618aebd703ab201ef790a379a0bd8748ac7a4ed4bf425e0b12f8b7afd812',
forgedAt: '2017-09-30T15:03:11Z',
createdBy: 'SlotLeader-8e8a7b0f4a23f07a',
number: 29021,
Expand Down Expand Up @@ -72,7 +72,7 @@ export const block29022 = {
epochNo: 1,
fees: 0,
hash: 'bf13d9a80ad99a4f34edb8a3262dd8120e29bbe182732cd3b00bf3d1bb7c2380',
merkelRoot: '0e5751c026e543b2e8ab2eb06099daa1d1e5df47778f7787faab45cdf12fe3a8',
merkleRoot: '0e5751c026e543b2e8ab2eb06099daa1d1e5df47778f7787faab45cdf12fe3a8',
number: 29022,
forgedAt: '2017-09-30T15:03:31Z',
createdBy: 'SlotLeader-7b00350597671036',
Expand Down

0 comments on commit b9e1e13

Please sign in to comment.