Skip to content

Commit 5914c2e

Browse files
authored
Unit Test Path Fixes (#136)
1 parent f254b1b commit 5914c2e

File tree

171 files changed

+464
-464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+464
-464
lines changed

ast/sources_test.go

Lines changed: 100 additions & 100 deletions
Large diffs are not rendered by default.

data/solc/releases/releases.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/tests/audits/ERC20.slither.raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/tests/audits/Lottery.slither.raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/tests/audits/SimpleStorage.slither.raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/tests/audits/TokenSale.slither.raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/tests/audits/TransparentUpgradeableProxy.slither.raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/tests/audits/VulnerableBank.slither.raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/tests/contracts/0x7C3a812bBfC759bf85097211253e63f9e5F49439/ItemsMarketplace.solgo.ast.json

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -12061,10 +12061,10 @@
1206112061
},
1206212062
"member_name": "get",
1206312063
"argument_types": [],
12064-
"referenced_declaration": 526,
12064+
"referenced_declaration": 755,
1206512065
"type_description": {
12066-
"type_identifier": "t_contract$_IterableMapping_$1132",
12067-
"type_string": "contract IterableMapping"
12066+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint128$",
12067+
"type_string": "function(struct IterableMapping.Map,uint128)"
1206812068
}
1206912069
},
1207012070
"type_description": {
@@ -12707,7 +12707,7 @@
1270712707
},
1270812708
"member_name": "get",
1270912709
"argument_types": [],
12710-
"referenced_declaration": 1171,
12710+
"referenced_declaration": 526,
1271112711
"type_description": {
1271212712
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint128$",
1271312713
"type_string": "function(struct IterableMapping.Map,uint128)"
@@ -16139,8 +16139,8 @@
1613916139
"argument_types": [],
1614016140
"referenced_declaration": 526,
1614116141
"type_description": {
16142-
"type_identifier": "t_contract$_IterableMapping_$1132",
16143-
"type_string": "contract IterableMapping"
16142+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint128$",
16143+
"type_string": "function(struct IterableMapping.Map,uint128)"
1614416144
}
1614516145
},
1614616146
"type_description": {
@@ -16852,10 +16852,10 @@
1685216852
},
1685316853
"member_name": "set",
1685416854
"argument_types": [],
16855-
"referenced_declaration": 739,
16855+
"referenced_declaration": 1223,
1685616856
"type_description": {
16857-
"type_identifier": "t_contract$_IterableMapping_$1132",
16858-
"type_string": "contract IterableMapping"
16857+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint128$_t_struct$_IterableMapping_Order_$1141$",
16858+
"type_string": "function(struct IterableMapping.Map,uint128,struct IterableMapping.Order)"
1685916859
}
1686016860
},
1686116861
"type_description": {
@@ -17196,10 +17196,10 @@
1719617196
},
1719717197
"member_name": "get",
1719817198
"argument_types": [],
17199-
"referenced_declaration": 526,
17199+
"referenced_declaration": 1056,
1720017200
"type_description": {
17201-
"type_identifier": "t_contract$_IterableMapping_$1132",
17202-
"type_string": "contract IterableMapping"
17201+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint128$",
17202+
"type_string": "function(struct IterableMapping.Map,uint128)"
1720317203
}
1720417204
},
1720517205
"type_description": {
@@ -17490,7 +17490,7 @@
1749017490
},
1749117491
"member_name": "remove",
1749217492
"argument_types": [],
17493-
"referenced_declaration": 767,
17493+
"referenced_declaration": 680,
1749417494
"type_description": {
1749517495
"type_identifier": "t_contract$_IterableMapping_$1132",
1749617496
"type_string": "contract IterableMapping"
@@ -17710,7 +17710,7 @@
1771017710
},
1771117711
"member_name": "remove",
1771217712
"argument_types": [],
17713-
"referenced_declaration": 767,
17713+
"referenced_declaration": 680,
1771417714
"type_description": {
1771517715
"type_identifier": "t_contract$_IterableMapping_$1132",
1771617716
"type_string": "contract IterableMapping"
@@ -17996,8 +17996,8 @@
1799617996
"argument_types": [],
1799717997
"referenced_declaration": 886,
1799817998
"type_description": {
17999-
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$",
18000-
"type_string": "function(struct IterableMapping.Map)"
17999+
"type_identifier": "t_contract$_IterableMapping_$1132",
18000+
"type_string": "contract IterableMapping"
1800118001
}
1800218002
},
1800318003
"type_description": {
@@ -18361,10 +18361,10 @@
1836118361
},
1836218362
"member_name": "getKeyAtIndex",
1836318363
"argument_types": [],
18364-
"referenced_declaration": 811,
18364+
"referenced_declaration": 916,
1836518365
"type_description": {
18366-
"type_identifier": "t_contract$_IterableMapping_$1132",
18367-
"type_string": "contract IterableMapping"
18366+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint32$",
18367+
"type_string": "function(struct IterableMapping.Map,uint32)"
1836818368
}
1836918369
},
1837018370
"type_description": {
@@ -18539,10 +18539,10 @@
1853918539
},
1854018540
"member_name": "get",
1854118541
"argument_types": [],
18542-
"referenced_declaration": 526,
18542+
"referenced_declaration": 755,
1854318543
"type_description": {
18544-
"type_identifier": "t_contract$_IterableMapping_$1132",
18545-
"type_string": "contract IterableMapping"
18544+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint128$",
18545+
"type_string": "function(struct IterableMapping.Map,uint128)"
1854618546
}
1854718547
},
1854818548
"type_description": {
@@ -18857,7 +18857,7 @@
1885718857
},
1885818858
"member_name": "remove",
1885918859
"argument_types": [],
18860-
"referenced_declaration": 680,
18860+
"referenced_declaration": 868,
1886118861
"type_description": {
1886218862
"type_identifier": "t_contract$_IterableMapping_$1132",
1886318863
"type_string": "contract IterableMapping"
@@ -19104,8 +19104,8 @@
1910419104
"argument_types": [],
1910519105
"referenced_declaration": 794,
1910619106
"type_description": {
19107-
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$",
19108-
"type_string": "function(struct IterableMapping.Map)"
19107+
"type_identifier": "t_contract$_IterableMapping_$1132",
19108+
"type_string": "contract IterableMapping"
1910919109
}
1911019110
},
1911119111
"type_description": {
@@ -19471,8 +19471,8 @@
1947119471
"argument_types": [],
1947219472
"referenced_declaration": 811,
1947319473
"type_description": {
19474-
"type_identifier": "t_contract$_IterableMapping_$1132",
19475-
"type_string": "contract IterableMapping"
19474+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint32$",
19475+
"type_string": "function(struct IterableMapping.Map,uint32)"
1947619476
}
1947719477
},
1947819478
"type_description": {
@@ -19808,10 +19808,10 @@
1980819808
},
1980919809
"member_name": "size",
1981019810
"argument_types": [],
19811-
"referenced_declaration": 1206,
19811+
"referenced_declaration": 794,
1981219812
"type_description": {
19813-
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$",
19814-
"type_string": "function(struct IterableMapping.Map)"
19813+
"type_identifier": "t_contract$_IterableMapping_$1132",
19814+
"type_string": "contract IterableMapping"
1981519815
}
1981619816
},
1981719817
"type_description": {
@@ -20428,10 +20428,10 @@
2042820428
},
2042920429
"member_name": "getKeyAtIndex",
2043020430
"argument_types": [],
20431-
"referenced_declaration": 811,
20431+
"referenced_declaration": 1189,
2043220432
"type_description": {
20433-
"type_identifier": "t_contract$_IterableMapping_$1132",
20434-
"type_string": "contract IterableMapping"
20433+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint32$",
20434+
"type_string": "function(struct IterableMapping.Map,uint32)"
2043520435
}
2043620436
},
2043720437
"type_description": {
@@ -20608,8 +20608,8 @@
2060820608
"argument_types": [],
2060920609
"referenced_declaration": 526,
2061020610
"type_description": {
20611-
"type_identifier": "t_contract$_IterableMapping_$1132",
20612-
"type_string": "contract IterableMapping"
20611+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint128$",
20612+
"type_string": "function(struct IterableMapping.Map,uint128)"
2061320613
}
2061420614
},
2061520615
"type_description": {
@@ -20914,15 +20914,18 @@
2091420914
"is_pure": false
2091520915
},
2091620916
"type_descriptions": [
20917-
null,
20917+
{
20918+
"type_identifier": "t_struct$_IterableMapping_Order_$1141",
20919+
"type_string": "struct IterableMapping.Order"
20920+
},
2091820921
{
2091920922
"type_identifier": "t_uint32",
2092020923
"type_string": "uint32"
2092120924
}
2092220925
],
2092320926
"type_description": {
20924-
"type_identifier": "t_[_[$_t_unknown]$_t_uint32]$",
20925-
"type_string": "index[unknown:uint32]"
20927+
"type_identifier": "t_[_[$_t_struct$_IterableMapping_Order_$1141]$_t_uint32]$",
20928+
"type_string": "index[struct IterableMapping.Order:uint32]"
2092620929
}
2092720930
},
2092820931
"right_expression": {
@@ -21436,8 +21439,8 @@
2143621439
"argument_types": [],
2143721440
"referenced_declaration": 794,
2143821441
"type_description": {
21439-
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$",
21440-
"type_string": "function(struct IterableMapping.Map)"
21442+
"type_identifier": "t_contract$_IterableMapping_$1132",
21443+
"type_string": "contract IterableMapping"
2144121444
}
2144221445
},
2144321446
"type_description": {
@@ -22056,8 +22059,8 @@
2205622059
"argument_types": [],
2205722060
"referenced_declaration": 811,
2205822061
"type_description": {
22059-
"type_identifier": "t_contract$_IterableMapping_$1132",
22060-
"type_string": "contract IterableMapping"
22062+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint32$",
22063+
"type_string": "function(struct IterableMapping.Map,uint32)"
2206122064
}
2206222065
},
2206322066
"type_description": {
@@ -22234,8 +22237,8 @@
2223422237
"argument_types": [],
2223522238
"referenced_declaration": 526,
2223622239
"type_description": {
22237-
"type_identifier": "t_contract$_IterableMapping_$1132",
22238-
"type_string": "contract IterableMapping"
22240+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint128$",
22241+
"type_string": "function(struct IterableMapping.Map,uint128)"
2223922242
}
2224022243
},
2224122244
"type_description": {
@@ -22623,18 +22626,15 @@
2262322626
"is_pure": false
2262422627
},
2262522628
"type_descriptions": [
22626-
{
22627-
"type_identifier": "t_struct$_IterableMapping_Order_$1141",
22628-
"type_string": "struct IterableMapping.Order"
22629-
},
22629+
null,
2263022630
{
2263122631
"type_identifier": "t_uint32",
2263222632
"type_string": "uint32"
2263322633
}
2263422634
],
2263522635
"type_description": {
22636-
"type_identifier": "t_[_[$_t_struct$_IterableMapping_Order_$1141]$_t_uint32]$",
22637-
"type_string": "index[struct IterableMapping.Order:uint32]"
22636+
"type_identifier": "t_[_[$_t_unknown]$_t_uint32]$",
22637+
"type_string": "index[unknown:uint32]"
2263822638
}
2263922639
},
2264022640
"right_expression": {
@@ -23187,10 +23187,10 @@
2318723187
},
2318823188
"member_name": "get",
2318923189
"argument_types": [],
23190-
"referenced_declaration": 526,
23190+
"referenced_declaration": 1171,
2319123191
"type_description": {
23192-
"type_identifier": "t_contract$_IterableMapping_$1132",
23193-
"type_string": "contract IterableMapping"
23192+
"type_identifier": "t_function_$_t_struct$_IterableMapping_Map_$1155$_t_uint128$",
23193+
"type_string": "function(struct IterableMapping.Map,uint128)"
2319423194
}
2319523195
},
2319623196
"type_description": {

0 commit comments

Comments
 (0)