File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,14 @@ cd "$DIR" || exit 255
7
7
8
8
solc-select use 0.4.25 --always-install
9
9
10
- delay_no_key () {
10
+ delay_etherscan () {
11
11
# Perform a small sleep when API key is not available (e.g. on PR CI from external contributor)
12
12
if [ " $GITHUB_ETHERSCAN " = " " ]; then
13
13
sleep 5s
14
+ else
15
+ # Always sleep 2 second in the CI
16
+ # We have a lot of concurrent github action so this is needed
17
+ sleep 2s
14
18
fi
15
19
}
16
20
24
28
fi
25
29
echo " ::endgroup::"
26
30
27
- delay_no_key
31
+ delay_etherscan
28
32
29
33
# From crytic/slither#1154
30
34
echo " ::group::Etherscan #3"
37
41
fi
38
42
echo " ::endgroup::"
39
43
40
- delay_no_key
44
+ delay_etherscan
41
45
42
46
# From crytic/crytic-compile#415
43
47
echo " ::group::Etherscan #4"
50
54
fi
51
55
echo " ::endgroup::"
52
56
53
- delay_no_key
57
+ delay_etherscan
54
58
55
59
# From crytic/crytic-compile#150
56
60
echo " ::group::Etherscan #5"
70
74
fi
71
75
echo " ::endgroup::"
72
76
77
+ delay_etherscan
78
+
73
79
# From crytic/crytic-compile#151
74
80
echo " ::group::Etherscan #6"
75
81
crytic-compile 0x4c808e3c011514d5016536af11218eec537eb6f5 --compile-remove-metadata --etherscan-apikey " $GITHUB_ETHERSCAN "
You can’t perform that action at this time.
0 commit comments