@towns-protocol/contracts 0.0.438 → 0.0.439
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.439",
|
|
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.439",
|
|
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",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "8e9e84d7be1d6fb6eadbd24b67db8bc7d495cc4c"
|
|
54
54
|
}
|
|
@@ -14,10 +14,16 @@ contract InteractSetStreamHistoryMiniblocks is Interaction {
|
|
|
14
14
|
function __interact(address deployer) internal override {
|
|
15
15
|
address riverRegistry = getDeployment("riverRegistry");
|
|
16
16
|
|
|
17
|
+
uint64 userInboxMiniblocks = 5000;
|
|
17
18
|
uint64 userSettingsMiniblocks = 40;
|
|
18
19
|
uint64 spaceMiniblocks = 400;
|
|
19
20
|
|
|
20
21
|
vm.startBroadcast(deployer);
|
|
22
|
+
IRiverConfig(riverRegistry).setConfiguration(
|
|
23
|
+
RiverConfigValues.STREAM_HISTORY_MINIBLOCKS_USER_INBOX,
|
|
24
|
+
0,
|
|
25
|
+
abi.encode(userInboxMiniblocks)
|
|
26
|
+
);
|
|
21
27
|
IRiverConfig(riverRegistry).setConfiguration(
|
|
22
28
|
RiverConfigValues.STREAM_HISTORY_MINIBLOCKS_USER_SETTINGS,
|
|
23
29
|
0,
|
|
@@ -17,6 +17,8 @@ library RiverConfigValues {
|
|
|
17
17
|
bytes32 public constant MEDIA_CHUNK_COUNT = keccak256("stream.media.maxchunkcount");
|
|
18
18
|
bytes32 public constant ENABLE_NODE_2_NODE_AUTH = keccak256("server.enablenode2nodeauth");
|
|
19
19
|
bytes32 public constant MB_RECENCY_CHECK = keccak256("stream.recencyconstraints.ageseconds");
|
|
20
|
+
bytes32 public constant STREAM_HISTORY_MINIBLOCKS_USER_INBOX =
|
|
21
|
+
keccak256("stream.historyminiblocks.a1");
|
|
20
22
|
bytes32 public constant STREAM_HISTORY_MINIBLOCKS_USER_SETTINGS =
|
|
21
23
|
keccak256("stream.historyminiblocks.a5");
|
|
22
24
|
bytes32 public constant STREAM_HISTORY_MINIBLOCKS_SPACE =
|