Skip to content

Commit 565ed45

Browse files
committed
v1.5.3
1 parent 21bf5e4 commit 565ed45

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

ex/lib/consensus/coordination/fabric_snapshot.ex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ defmodule FabricSnapshot do
131131
# Bulk CFs — full state, read through the same snapshot for mutual consistency.
132132
stream_cf(rtx, "contractstate", cf.contractstate, fd, zctx)
133133
stream_cf(rtx, "contractstate_tree", cf.contractstate_tree, fd, zctx)
134+
stream_cf(rtx, "contractstate_tree_hbsmt", cf.contractstate_tree_hbsmt, fd, zctx)
134135

135136
rooted_hash = RocksDB.get("rooted_tip", %{rtx: rtx, cf: cf.sysconf})
136137
if is_binary(rooted_hash) do
@@ -232,10 +233,11 @@ defmodule FabricSnapshot do
232233
def import_bundle_file(file_path) do
233234
%{db: db, cf: cf} = :persistent_term.get({:rocksdb, Fabric})
234235
cf_by_name = %{
235-
"contractstate" => cf.contractstate,
236-
"contractstate_tree" => cf.contractstate_tree,
237-
"sysconf" => cf.sysconf,
238-
"attestation" => cf.attestation,
236+
"contractstate" => cf.contractstate,
237+
"contractstate_tree" => cf.contractstate_tree,
238+
"contractstate_tree_hbsmt" => cf.contractstate_tree_hbsmt,
239+
"sysconf" => cf.sysconf,
240+
"attestation" => cf.attestation,
239241
}
240242

241243
{:ok, fd} = :file.open(file_path, [:read, :binary, :raw])

ex/lib/http/multiserver.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ defmodule Ama.MultiServer do
8585
|> Photon.HTTP.Headers.add_date()
8686
|> Photon.HTTP.Headers.add_connection(state.request)
8787
|> Map.put("Content-Type", "application/zstd")
88-
|> Map.put("Content-Encoding", "zstd")
8988
|> Map.put("Content-Length", "#{size}")
9089
header_bin = "HTTP/1.1 200 OK\r\n" <> Photon.HTTP.Headers.build(headers) <> "\r\n\r\n"
9190
:ok = :gen_tcp.send(state.socket, header_bin)

ex/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ defmodule Ama.MixProject do
66
def project do
77
[
88
app: @app,
9-
version: "1.5.2",
9+
version: "1.5.3",
1010
elixir: ">= 1.19.0",
1111
start_permanent: Mix.env() == :prod,
1212
deps: deps(),

0 commit comments

Comments
 (0)