mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-14 03:59:30 +00:00
fix: update configuration files
This commit is contained in:
parent
3c28b17576
commit
aef309f30d
@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"home": "/var/lib/sequencer_service",
|
"home": "/var/lib/sequencer_service",
|
||||||
"genesis_id": 1,
|
|
||||||
"is_genesis_random": true,
|
|
||||||
"max_num_tx_in_block": 20,
|
"max_num_tx_in_block": 20,
|
||||||
"max_block_size": "1 MiB",
|
"max_block_size": "1 MiB",
|
||||||
"mempool_max_size": 10000,
|
"mempool_max_size": 10000,
|
||||||
@ -30,14 +28,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"supply_private_account": {
|
"supply_account": {
|
||||||
"npk": [177,64,1,11,87,38,254,159,231,165,1,94,64,137,243,76,249,101,251,129,33,101,189,30,42,11,191,34,103,186,227,230],
|
"account_id": "61EsoYN6gvTLkveh1YSTMG3yJkncpHy5EGmxhSK4ew29",
|
||||||
"balance": 10000
|
"balance": 10000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"supply_private_account": {
|
"supply_account": {
|
||||||
"npk": [32,67,72,164,106,53,66,239,141,15,52,230,136,177,2,236,207,243,134,135,210,143,87,232,215,128,194,120,113,224,4,165],
|
"account_id": "3m6HQmCgmAvsxZtxAHPqqEqoBG4335fCG8TzxigyW7rE",
|
||||||
"balance": 20000
|
"balance": 20000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -77,7 +77,6 @@ pub fn sequencer_config(
|
|||||||
|
|
||||||
Ok(SequencerConfig {
|
Ok(SequencerConfig {
|
||||||
home,
|
home,
|
||||||
is_genesis_random: true,
|
|
||||||
max_num_tx_in_block,
|
max_num_tx_in_block,
|
||||||
max_block_size,
|
max_block_size,
|
||||||
mempool_max_size,
|
mempool_max_size,
|
||||||
|
|||||||
@ -29,8 +29,6 @@ pub enum GenesisAction {
|
|||||||
pub struct SequencerConfig {
|
pub struct SequencerConfig {
|
||||||
/// Home dir of sequencer storage.
|
/// Home dir of sequencer storage.
|
||||||
pub home: PathBuf,
|
pub home: PathBuf,
|
||||||
/// If `True`, then adds random sequence of bytes to genesis block.
|
|
||||||
pub is_genesis_random: bool,
|
|
||||||
/// Maximum number of user transactions in a block (excludes the mandatory clock transaction).
|
/// Maximum number of user transactions in a block (excludes the mandatory clock transaction).
|
||||||
pub max_num_tx_in_block: usize,
|
pub max_num_tx_in_block: usize,
|
||||||
/// Maximum block size (includes header, user transactions, and the mandatory clock
|
/// Maximum block size (includes header, user transactions, and the mandatory clock
|
||||||
|
|||||||
@ -457,7 +457,6 @@ mod tests {
|
|||||||
|
|
||||||
SequencerConfig {
|
SequencerConfig {
|
||||||
home,
|
home,
|
||||||
is_genesis_random: false,
|
|
||||||
max_num_tx_in_block: 10,
|
max_num_tx_in_block: 10,
|
||||||
max_block_size: bytesize::ByteSize::mib(1),
|
max_block_size: bytesize::ByteSize::mib(1),
|
||||||
mempool_max_size: 10000,
|
mempool_max_size: 10000,
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"home": ".",
|
"home": ".",
|
||||||
"genesis_id": 1,
|
|
||||||
"is_genesis_random": true,
|
|
||||||
"max_num_tx_in_block": 20,
|
"max_num_tx_in_block": 20,
|
||||||
"max_block_size": "1 MiB",
|
"max_block_size": "1 MiB",
|
||||||
"mempool_max_size": 1000,
|
"mempool_max_size": 1000,
|
||||||
@ -16,117 +14,29 @@
|
|||||||
"node_url": "http://localhost:8080"
|
"node_url": "http://localhost:8080"
|
||||||
},
|
},
|
||||||
"indexer_rpc_url": "ws://localhost:8779",
|
"indexer_rpc_url": "ws://localhost:8779",
|
||||||
"initial_accounts": [
|
"genesis": [
|
||||||
{
|
{
|
||||||
"account_id": "CbgR6tj5kWx5oziiFptM7jMvrQeYY3Mzaao6ciuhSr2r",
|
"supply_account": {
|
||||||
"balance": 10000
|
"account_id": "CbgR6tj5kWx5oziiFptM7jMvrQeYY3Mzaao6ciuhSr2r",
|
||||||
},
|
"balance": 10000
|
||||||
{
|
|
||||||
"account_id": "2RHZhw9h534Zr3eq2RGhQete2Hh667foECzXPmSkGni2",
|
|
||||||
"balance": 20000
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"initial_commitments": [
|
|
||||||
{
|
|
||||||
"npk": [
|
|
||||||
139,
|
|
||||||
19,
|
|
||||||
158,
|
|
||||||
11,
|
|
||||||
155,
|
|
||||||
231,
|
|
||||||
85,
|
|
||||||
206,
|
|
||||||
132,
|
|
||||||
228,
|
|
||||||
220,
|
|
||||||
114,
|
|
||||||
145,
|
|
||||||
89,
|
|
||||||
113,
|
|
||||||
156,
|
|
||||||
238,
|
|
||||||
142,
|
|
||||||
242,
|
|
||||||
74,
|
|
||||||
182,
|
|
||||||
91,
|
|
||||||
43,
|
|
||||||
100,
|
|
||||||
6,
|
|
||||||
190,
|
|
||||||
31,
|
|
||||||
15,
|
|
||||||
31,
|
|
||||||
88,
|
|
||||||
96,
|
|
||||||
204
|
|
||||||
],
|
|
||||||
"account": {
|
|
||||||
"program_owner": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"balance": 10000,
|
|
||||||
"data": [],
|
|
||||||
"nonce": 0
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"npk": [
|
"supply_account": {
|
||||||
173,
|
"account_id": "2RHZhw9h534Zr3eq2RGhQete2Hh667foECzXPmSkGni2",
|
||||||
134,
|
"balance": 20000
|
||||||
33,
|
}
|
||||||
223,
|
},
|
||||||
54,
|
{
|
||||||
226,
|
"supply_account": {
|
||||||
10,
|
"account_id": "5T7EJX45Vi8rYgVjeiiQbdgM2Eun4Hq5S8uMiupiwWY1",
|
||||||
71,
|
"balance": 10000
|
||||||
215,
|
}
|
||||||
254,
|
},
|
||||||
143,
|
{
|
||||||
172,
|
"supply_account": {
|
||||||
24,
|
"account_id": "2ByFEVzfMKC13jvk1nZuFVGYoDVW1iAxvvFnqboV1aAg",
|
||||||
244,
|
"balance": 20000
|
||||||
243,
|
|
||||||
208,
|
|
||||||
65,
|
|
||||||
112,
|
|
||||||
118,
|
|
||||||
70,
|
|
||||||
217,
|
|
||||||
240,
|
|
||||||
69,
|
|
||||||
100,
|
|
||||||
129,
|
|
||||||
3,
|
|
||||||
121,
|
|
||||||
25,
|
|
||||||
213,
|
|
||||||
132,
|
|
||||||
42,
|
|
||||||
45
|
|
||||||
],
|
|
||||||
"account": {
|
|
||||||
"program_owner": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"balance": 20000,
|
|
||||||
"data": [],
|
|
||||||
"nonce": 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"home": "/var/lib/sequencer_service",
|
"home": "/var/lib/sequencer_service",
|
||||||
"genesis_id": 1,
|
|
||||||
"is_genesis_random": true,
|
|
||||||
"max_num_tx_in_block": 20,
|
"max_num_tx_in_block": 20,
|
||||||
"max_block_size": "1 MiB",
|
"max_block_size": "1 MiB",
|
||||||
"mempool_max_size": 10000,
|
"mempool_max_size": 10000,
|
||||||
@ -16,117 +14,29 @@
|
|||||||
"node_url": "http://localhost:18080"
|
"node_url": "http://localhost:18080"
|
||||||
},
|
},
|
||||||
"indexer_rpc_url": "ws://localhost:8779",
|
"indexer_rpc_url": "ws://localhost:8779",
|
||||||
"initial_accounts": [
|
"genesis": [
|
||||||
{
|
{
|
||||||
"account_id": "CbgR6tj5kWx5oziiFptM7jMvrQeYY3Mzaao6ciuhSr2r",
|
"supply_account": {
|
||||||
"balance": 10000
|
"account_id": "CbgR6tj5kWx5oziiFptM7jMvrQeYY3Mzaao6ciuhSr2r",
|
||||||
},
|
"balance": 10000
|
||||||
{
|
|
||||||
"account_id": "2RHZhw9h534Zr3eq2RGhQete2Hh667foECzXPmSkGni2",
|
|
||||||
"balance": 20000
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"initial_commitments": [
|
|
||||||
{
|
|
||||||
"npk": [
|
|
||||||
139,
|
|
||||||
19,
|
|
||||||
158,
|
|
||||||
11,
|
|
||||||
155,
|
|
||||||
231,
|
|
||||||
85,
|
|
||||||
206,
|
|
||||||
132,
|
|
||||||
228,
|
|
||||||
220,
|
|
||||||
114,
|
|
||||||
145,
|
|
||||||
89,
|
|
||||||
113,
|
|
||||||
156,
|
|
||||||
238,
|
|
||||||
142,
|
|
||||||
242,
|
|
||||||
74,
|
|
||||||
182,
|
|
||||||
91,
|
|
||||||
43,
|
|
||||||
100,
|
|
||||||
6,
|
|
||||||
190,
|
|
||||||
31,
|
|
||||||
15,
|
|
||||||
31,
|
|
||||||
88,
|
|
||||||
96,
|
|
||||||
204
|
|
||||||
],
|
|
||||||
"account": {
|
|
||||||
"program_owner": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"balance": 10000,
|
|
||||||
"data": [],
|
|
||||||
"nonce": 0
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"npk": [
|
"supply_account": {
|
||||||
173,
|
"account_id": "2RHZhw9h534Zr3eq2RGhQete2Hh667foECzXPmSkGni2",
|
||||||
134,
|
"balance": 20000
|
||||||
33,
|
}
|
||||||
223,
|
},
|
||||||
54,
|
{
|
||||||
226,
|
"supply_account": {
|
||||||
10,
|
"account_id": "5T7EJX45Vi8rYgVjeiiQbdgM2Eun4Hq5S8uMiupiwWY1",
|
||||||
71,
|
"balance": 10000
|
||||||
215,
|
}
|
||||||
254,
|
},
|
||||||
143,
|
{
|
||||||
172,
|
"supply_account": {
|
||||||
24,
|
"account_id": "2ByFEVzfMKC13jvk1nZuFVGYoDVW1iAxvvFnqboV1aAg",
|
||||||
244,
|
"balance": 20000
|
||||||
243,
|
|
||||||
208,
|
|
||||||
65,
|
|
||||||
112,
|
|
||||||
118,
|
|
||||||
70,
|
|
||||||
217,
|
|
||||||
240,
|
|
||||||
69,
|
|
||||||
100,
|
|
||||||
129,
|
|
||||||
3,
|
|
||||||
121,
|
|
||||||
25,
|
|
||||||
213,
|
|
||||||
132,
|
|
||||||
42,
|
|
||||||
45
|
|
||||||
],
|
|
||||||
"account": {
|
|
||||||
"program_owner": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"balance": 20000,
|
|
||||||
"data": [],
|
|
||||||
"nonce": 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user