Skip to content

Commit cf5e0b2

Browse files
authored
rft: optimize KeyValueList sorting logic (#679)
1 parent c39d304 commit cf5e0b2

File tree

5 files changed

+111
-977
lines changed

5 files changed

+111
-977
lines changed

snapshots/Spoke.Getters.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"getUserAccountData: supplies: 0, borrows: 0": "9239",
3-
"getUserAccountData: supplies: 1, borrows: 0": "44980",
4-
"getUserAccountData: supplies: 2, borrows: 0": "75628",
5-
"getUserAccountData: supplies: 2, borrows: 1": "99115",
6-
"getUserAccountData: supplies: 2, borrows: 2": "121137"
2+
"getUserAccountData: supplies: 0, borrows: 0": "9327",
3+
"getUserAccountData: supplies: 1, borrows: 0": "45207",
4+
"getUserAccountData: supplies: 2, borrows: 0": "76269",
5+
"getUserAccountData: supplies: 2, borrows: 1": "99927",
6+
"getUserAccountData: supplies: 2, borrows: 2": "121949"
77
}

snapshots/Spoke.Operations.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"borrow: first": "248921",
3-
"borrow: second action, same reserve": "212393",
4-
"liquidationCall: full": "309471",
5-
"liquidationCall: partial": "384217",
6-
"permitReserve + repay (multicall)": "269705",
2+
"borrow: first": "249319",
3+
"borrow: second action, same reserve": "212791",
4+
"liquidationCall: full": "310267",
5+
"liquidationCall: partial": "385013",
6+
"permitReserve + repay (multicall)": "270103",
77
"permitReserve + supply (multicall)": "140588",
88
"permitReserve + supply + enable collateral (multicall)": "174118",
9-
"repay: full": "173610",
10-
"repay: partial": "228487",
9+
"repay: full": "173837",
10+
"repay: partial": "228885",
1111
"supply + enable collateral (multicall)": "152551",
1212
"supply: 0 borrows, collateral disabled": "116422",
1313
"supply: 0 borrows, collateral enabled": "119569",
1414
"supply: 1 borrow": "119558",
1515
"supply: second action, same reserve": "102469",
1616
"updateUserDynamicConfig: 1 collateral": "53113",
1717
"updateUserDynamicConfig: 2 collaterals": "58377",
18-
"updateUserRiskPremium: 1 borrow": "122190",
19-
"updateUserRiskPremium: 2 borrows": "158175",
18+
"updateUserRiskPremium: 1 borrow": "122588",
19+
"updateUserRiskPremium: 2 borrows": "158573",
2020
"usingAsCollateral: 0 borrows, enable": "54071",
21-
"usingAsCollateral: 1 borrow, disable": "132533",
21+
"usingAsCollateral: 1 borrow, disable": "132931",
2222
"usingAsCollateral: 1 borrow, enable": "24831",
23-
"withdraw: 0 borrows, full": "136817",
24-
"withdraw: 0 borrows, partial": "137740",
25-
"withdraw: 1 borrow, partial": "238834"
23+
"withdraw: 0 borrows, full": "137044",
24+
"withdraw: 0 borrows, partial": "137967",
25+
"withdraw: 1 borrow, partial": "239232"
2626
}

0 commit comments

Comments
 (0)