Skip to content

Commit

Permalink
Bump release number 68, 2.7.2 (#386)
Browse files Browse the repository at this point in the history
Set HF activation height 1391330, Targeting 2024-03-26 14:00 UTC

Set upper and lower price bound:
Upper Bound: 340 Winston per GiB/Minute or ~0.714 AR per GiB upload
Lower Bound: 170 Winston per GiB/Minute or ~0.357 AR per GiB upload
  • Loading branch information
JamesPiechota authored Mar 1, 2024
1 parent a50f05a commit 8a0bef6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apps/arweave/include/ar.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
-define(CLIENT_VERSION, 5).

%% The current build number -- incremented for every release.
-define(RELEASE_NUMBER, 67).
-define(RELEASE_NUMBER, 68).

-define(DEFAULT_REQUEST_HEADERS,
[
Expand Down
2 changes: 1 addition & 1 deletion apps/arweave/src/ar_fork.erl
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ height_2_7_2() ->
0.
-else.
height_2_7_2() ->
1378640. % Targeting 2024-03-07 14:00 UTC
1391330. % Targeting 2024-03-26 14:00 UTC
-endif.
-endif.
2 changes: 1 addition & 1 deletion apps/arweave/src/ar_node_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ handle_task(compute_mining_difficulty, State) ->
Diff = get_current_diff(),
case ar_node:get_height() of
Height when (Height + 1) rem 10 == 0 ->
?LOG_INFO([{event, current_mining_difficulty}, {difficulty, Diff}]);
?LOG_INFO([{event, current_mining_difficulty}, {height, Height}, {difficulty, Diff}]);
_ ->
ok
end,
Expand Down
12 changes: 6 additions & 6 deletions apps/arweave/src/ar_pricing_transition.erl
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,19 @@
-define(PRICE_2_7_2_PER_GIB_MINUTE_UPPER_BOUND, 30000).
-else.
-ifndef(PRICE_2_7_2_PER_GIB_MINUTE_UPPER_BOUND).
%% 1_100_000_000_000 / (200 (years) * 365 (days) * 24 * 60) / 20 (replicas)
%% = ~520 Winston per GiB per minute.
-define(PRICE_2_7_2_PER_GIB_MINUTE_UPPER_BOUND, 520).
%% 714_000_000_000 / (200 (years) * 365 (days) * 24 * 60) / 20 (replicas)
%% = ~340 Winston per GiB per minute.
-define(PRICE_2_7_2_PER_GIB_MINUTE_UPPER_BOUND, 340).
-endif.
-endif.

-ifdef(DEBUG).
-define(PRICE_2_7_2_PER_GIB_MINUTE_LOWER_BOUND, 0).
-else.
-ifndef(PRICE_2_7_2_PER_GIB_MINUTE_LOWER_BOUND).
%% 550_000_000_000 / (200 (years) * 365 (days) * 24 * 60) / 20 (replicas)
%% = ~260 Winston per GiB per minute.
-define(PRICE_2_7_2_PER_GIB_MINUTE_LOWER_BOUND, 260).
%% 357_000_000_000 / (200 (years) * 365 (days) * 24 * 60) / 20 (replicas)
%% = ~170 Winston per GiB per minute.
-define(PRICE_2_7_2_PER_GIB_MINUTE_LOWER_BOUND, 170).
-endif.
-endif.

Expand Down
2 changes: 1 addition & 1 deletion apps/arweave/src/arweave.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, arweave, [
{description, "Arweave"},
{vsn, "2.7.1"},
{vsn, "2.7.2"},
{mod, {ar, []}},
{applications, [
kernel,
Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
]}.

{relx, [
{release, {arweave, "2.7.1"}, [
{release, {arweave, "2.7.2"}, [
{arweave, load},
b64fast,
jiffy,
Expand Down

0 comments on commit 8a0bef6

Please sign in to comment.