Skip to content

Commit 728d9d8

Browse files
committed
feat(coprocessor): implement additional stress-test scenarios
- add Transaction::ERC7984Transfer - add a simplified variant of the auction::submitEncryptedBids - add sample json data files
1 parent 3198da0 commit 728d9d8

9 files changed

Lines changed: 792 additions & 10 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"transaction": "BatchAllowHandles",
4+
"kind": "Rate",
5+
"variant": "NoCMUX",
6+
"inputs": "NA",
7+
"is_dependent": "Independent",
8+
"contract_address": "0xa5880e99d86F081E8D3868A8C4732C8f65dfdB08",
9+
"user_address": "0xa0534e99d86F081E8D3868A8C4732C8f65dfdB07",
10+
"batch_size": 400,
11+
"scenario": [
12+
[
13+
1.0,
14+
600
15+
]
16+
]
17+
}
18+
]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"transaction": "BatchSubmitEncryptedBids",
4+
"kind": "Rate",
5+
"variant": "NoCMUX",
6+
"inputs": "ReuseInputs",
7+
"is_dependent": "Independent",
8+
"contract_address": "0xa5880e99d86F081E8D3868A8C4732C8f65dfdB08",
9+
"user_address": "0xa0534e99d86F081E8D3868A8C4732C8f65dfdB07",
10+
"batch_size": 1,
11+
"scenario": [
12+
[
13+
1.0,
14+
1
15+
]
16+
]
17+
}
18+
]

coprocessor/fhevm-engine/stress-test-generator/data/json/minitest_002_erc20.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"user_address": "0xa0534e99d86F081E8D3868A8C4732C8f65dfdB07",
1010
"scenario": [
1111
[
12-
20.0,
13-
120
12+
1.0,
13+
1
1414
]
1515
]
1616
}

0 commit comments

Comments
 (0)