File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 3
3
import pytest
4
4
import random
5
5
6
- import cytoolz
7
-
8
6
from hypothesis import (
9
7
given ,
10
8
strategies as st ,
14
12
denoms ,
15
13
ValidationError ,
16
14
)
15
+ from eth_utils .toolz import assoc
17
16
18
17
from eth .constants import (
19
18
ZERO_HASH32 ,
@@ -843,15 +842,15 @@ def _corrupt_signature(params, fork_data):
843
842
)
844
843
corrupt_signature = bls .sign (message , privkey , domain )
845
844
846
- return cytoolz . assoc (params , "aggregate_signature" , corrupt_signature )
845
+ return assoc (params , "aggregate_signature" , corrupt_signature )
847
846
848
847
849
848
def _corrupt_vote_count (params ):
850
849
key = "custody_bit_0_indices"
851
850
for i in itertools .count ():
852
851
if i not in params [key ]:
853
852
new_vote_count = params [key ] + [i ]
854
- return cytoolz . assoc (
853
+ return assoc (
855
854
params ,
856
855
key ,
857
856
new_vote_count ,
You can’t perform that action at this time.
0 commit comments