diff --git a/docs/test-plans/001-Big-Blocks/test-cases/tc-002-da-sync.md b/docs/test-plans/001-Big-Blocks/test-cases/tc-002-da-sync.md index 2d5896d2..121d9cfe 100644 --- a/docs/test-plans/001-Big-Blocks/test-cases/tc-002-da-sync.md +++ b/docs/test-plans/001-Big-Blocks/test-cases/tc-002-da-sync.md @@ -28,7 +28,8 @@ 2. `J` milliseconds of network latency 2. Bridge nodes connect to respective Validators 3. Full / Light nodes connect to Bridge Nodes -4. Check that the latest received height is the same as for the validators +4. Starts syncing the chain +5. Checks that the latest received height is the same as for the validators ## Data Set: diff --git a/docs/test-plans/001-Big-Blocks/test-cases/tc-003-da-sync-past.md b/docs/test-plans/001-Big-Blocks/test-cases/tc-003-full-sync-past.md similarity index 86% rename from docs/test-plans/001-Big-Blocks/test-cases/tc-003-da-sync-past.md rename to docs/test-plans/001-Big-Blocks/test-cases/tc-003-full-sync-past.md index d6ec7289..822e6ed2 100644 --- a/docs/test-plans/001-Big-Blocks/test-cases/tc-003-da-sync-past.md +++ b/docs/test-plans/001-Big-Blocks/test-cases/tc-003-full-sync-past.md @@ -1,4 +1,4 @@ -# Test-Case #003 - DA nodes are syncing past headers faster then validators produce new ones +# Test-Case #003 - Full nodes are syncing past headers faster then validators produce new ones ## Pre-Requisites: @@ -31,7 +31,16 @@ 4. Check that it is synced 5. Broadcasts new blocks to the DA network -## Steps for each of DA Full / Light nodes: +## Steps for each of the DA Light nodes: + +1. Setups network with: + 1. `I` mb of bandwidth + 2. `J` milliseconds of network latency +2. Receives the trusted genesis hash and ip from Bridge Nodes +3. Starts syncing the chain +4. Check that it is synced + +## Steps for each of DA Full nodes: 1. Setups network with: 1. `I` mb of bandwidth diff --git a/docs/test-plans/001-Big-Blocks/test-cases/tc-005-das-past.md b/docs/test-plans/001-Big-Blocks/test-cases/tc-004-full-light-past.md similarity index 90% rename from docs/test-plans/001-Big-Blocks/test-cases/tc-005-das-past.md rename to docs/test-plans/001-Big-Blocks/test-cases/tc-004-full-light-past.md index 00dcea32..8815f0b1 100644 --- a/docs/test-plans/001-Big-Blocks/test-cases/tc-005-das-past.md +++ b/docs/test-plans/001-Big-Blocks/test-cases/tc-004-full-light-past.md @@ -1,4 +1,4 @@ -# Test-Case #005 - DA nodes are DASing past headers faster then validators produce new ones +# Test-Case #004 - Full and Light nodes are syncing past headers faster then validators produce new ones ## Pre-Requisites: @@ -38,9 +38,11 @@ 2. `J` milliseconds of network latency 2. Receives the trusted genesis hash and ip from Bridge Nodes 3. Waits until `N` amount of block has been produced by the chain -4. Starts DASing the chain afterwards -5. Checks that it can: +4. Starts syncing the chain afterwards +5. Light checks that it can: 1. DASes the past headers faster then new blocks are produced (\*) +6. Full checks that it can: + 1. Sync the past headers faster then new blocks are produced ## Data Set: diff --git a/docs/test-plans/001-Big-Blocks/test-cases/tc-004-das-current.md b/docs/test-plans/001-Big-Blocks/test-cases/tc-005-light-past.md similarity index 59% rename from docs/test-plans/001-Big-Blocks/test-cases/tc-004-das-current.md rename to docs/test-plans/001-Big-Blocks/test-cases/tc-005-light-past.md index 7ed90e32..ddc20bcb 100644 --- a/docs/test-plans/001-Big-Blocks/test-cases/tc-004-das-current.md +++ b/docs/test-plans/001-Big-Blocks/test-cases/tc-005-light-past.md @@ -1,4 +1,4 @@ -# Test-Case #004 - DASing of the latest header is faster then the block production time +# Test-Case #005 - Light nodes are DASing past headers faster then validators produce new ones ## Pre-Requisites: @@ -8,7 +8,7 @@ 4. Validators’ set is not changing during test execution 1. All validators are created during genesis 5. DA Nodes amount is not changing during the test execution - 1. We gracefully add DA Nodes as the first block is produced + 1. We add DA Nodes as the first block is produced ## Steps for each of the validators: @@ -31,22 +31,33 @@ 4. Check that it is synced 5. Broadcasts new blocks to the DA network -## Steps for each of DA Full / Light nodes: +## Steps for each of the DA Full nodes: 1. Setups network with: 1. `I` mb of bandwidth 2. `J` milliseconds of network latency 2. Receives the trusted genesis hash and ip from Bridge Nodes -3. Starts syncing the chain afterwards -4. DASes the latest header faster then `T` seconds (\*) +3. Starts syncing the chain +4. Check that it is synced + +## Steps for each of DA Light nodes: + +1. Setups network with: + 1. `I` mb of bandwidth + 2. `J` milliseconds of network latency +2. Receives the trusted genesis hash and ip from Bridge Nodes +3. Waits until `N` amount of block has been produced by the chain +4. Starts DASing the chain afterwards +5. Checks that it can: + 1. DASes the past headers faster then new blocks are produced (\*) ## Data Set: -| Number of Validators / Bridges / Fulls / Lights
`I` | Bandwidth / Latency per v/b/f/l
`J` | KB of random data
`X` | Submit amount
`Y` | Block Time in seconds
`T` | -| :--------------------------------------------------------: | :------------------------------------------------------------------------------------------------------: | :--------------------------: | :----------------------: | :------------------------------: | -| 40 / 40 / 20 / 100 | 1. 256(v/b/f)-100(l)MiB / 0ms
2. 320(v/b/f)-100(l)MiB / 100ms
3. 320(v/b/f)-100(i)MiB / 200ms | 100 | 10 | 30 | -| 100 / 100 / 50 / 1000 | 1. 320(v/b/f)-100(l)MiB / 0ms
2. 320(v/b/f)-100(l)MiB / 100ms
3. 320(v/b/f)-100(i)MiB / 200ms | 40 | 10 | 30 | +| Number of Validators / Bridges / Fulls / Lights
`I` | Bandwidth / Latency per v/b/f/l
`J` | KB of random data
`X` | Submit amount
`Y` | Amount of Past Blocks
`N` | +| :--------------------------------------------------------: | :------------------------------------------------------------------------------------------------------: | :-------------------------: | :---------------------: | :-----------------------------: | +| 40 / 40 / 20 / 100 | 1. 256(v/b/f)-100(l)MiB / 0ms
2. 320(v/b/f)-100(l)MiB / 100ms
3. 320(v/b/f)-100(i)MiB / 200ms | 100 | 50 | 30 | +| 100 / 100 / 50 / 1000 | 1. 320(v/b/f)-100(l)MiB / 0ms
2. 320(v/b/f)-100(l)MiB / 100ms
3. 320(v/b/f)-100(i)MiB / 200ms | 40 | 100 | 50 | ## Notes: -(\*) - We need to measure the DAS time to have a baseline for further benchmarking of the new p2p stack that is implemented +(\*) - We need to measure the DAS of past headers time to have a baseline for further benchmarking of the new p2p stack that is implemented diff --git a/docs/test-plans/001-Big-Blocks/tp-001-big-blocks-creation-sync.md b/docs/test-plans/001-Big-Blocks/tp-001-big-blocks-creation-sync.md index f7dbeff8..2bcb9185 100644 --- a/docs/test-plans/001-Big-Blocks/tp-001-big-blocks-creation-sync.md +++ b/docs/test-plans/001-Big-Blocks/tp-001-big-blocks-creation-sync.md @@ -75,10 +75,10 @@ The motivation behind this plan is to test how our stack(celestia-core/celestia- [Test-Case #002 - DA nodes are in sync with validators’ ](test-cases/tc-002-da-sync.md) -[Test-Case #003 - DA nodes are syncing past headers faster then validators produce new ones](test-cases/tc-003-da-sync-past.md) +[Test-Case #003 - Full nodes are syncing past headers faster then validators produce new ones](test-cases/tc-003-full-sync-past.md) -[Test-Case #004 - DASing of the latest header is faster then the block production time](test-cases/tc-004-das-current.md) +[Test-Case #004 - Full and Light nodes are syncing past headers faster then validators produce new ones](test-cases/tc-004-full-light-past.md) -[Test-Case #005 - DA nodes are DASing past headers faster then validators produce new ones](test-cases/tc-005-das-past.md) +[Test-Case #005 - Light nodes are DASing past headers faster then validators produce new ones](test-cases/tc-005-light-past.md) [Test-Case #006 - All DA nodes can submit data ](test-cases/tc-006-da-node-pfd.md)