@towns-protocol/contracts 0.0.415 → 0.0.416
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@towns-protocol/contracts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.416",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"clean": "forge clean",
|
|
6
6
|
"compile": "forge build",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@layerzerolabs/oapp-evm": "^0.3.2",
|
|
34
34
|
"@openzeppelin/merkle-tree": "^1.0.8",
|
|
35
35
|
"@prb/test": "^0.6.4",
|
|
36
|
-
"@towns-protocol/prettier-config": "^0.0.
|
|
36
|
+
"@towns-protocol/prettier-config": "^0.0.416",
|
|
37
37
|
"@wagmi/cli": "^2.2.0",
|
|
38
38
|
"forge-std": "github:foundry-rs/forge-std#v1.10.0",
|
|
39
39
|
"prettier": "^3.5.3",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "4bacd8cc3227801de12fea8f031db1983d2fb89a"
|
|
57
57
|
}
|
|
@@ -15,6 +15,7 @@ contract InteractSetStreamHistoryMiniblocks is Interaction {
|
|
|
15
15
|
address riverRegistry = getDeployment("riverRegistry");
|
|
16
16
|
|
|
17
17
|
uint64 userSettingsMiniblocks = 40;
|
|
18
|
+
uint64 spaceMiniblocks = 400;
|
|
18
19
|
|
|
19
20
|
vm.startBroadcast(deployer);
|
|
20
21
|
IRiverConfig(riverRegistry).setConfiguration(
|
|
@@ -22,6 +23,11 @@ contract InteractSetStreamHistoryMiniblocks is Interaction {
|
|
|
22
23
|
0,
|
|
23
24
|
abi.encode(userSettingsMiniblocks)
|
|
24
25
|
);
|
|
26
|
+
IRiverConfig(riverRegistry).setConfiguration(
|
|
27
|
+
RiverConfigValues.STREAM_HISTORY_MINIBLOCKS_SPACE,
|
|
28
|
+
0,
|
|
29
|
+
abi.encode(spaceMiniblocks)
|
|
30
|
+
);
|
|
25
31
|
vm.stopBroadcast();
|
|
26
32
|
}
|
|
27
33
|
}
|
|
@@ -19,6 +19,8 @@ library RiverConfigValues {
|
|
|
19
19
|
bytes32 public constant MB_RECENCY_CHECK = keccak256("stream.recencyconstraints.ageseconds");
|
|
20
20
|
bytes32 public constant STREAM_HISTORY_MINIBLOCKS_USER_SETTINGS =
|
|
21
21
|
keccak256("stream.historyminiblocks.a5");
|
|
22
|
+
bytes32 public constant STREAM_HISTORY_MINIBLOCKS_SPACE =
|
|
23
|
+
keccak256("stream.historyminiblocks.10");
|
|
22
24
|
bytes32 public constant STREAM_TRIM_ACTIVATION_FACTOR =
|
|
23
25
|
keccak256("stream.trimactivationfactor");
|
|
24
26
|
}
|