You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: migrations/000056_v310.up.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ CREATE TABLE relations (
30
30
);
31
31
32
32
-- UPDATE
33
-
update pools p set price_oracle=sa.addressfrom sync_adapters sa where type='PriceOracle'andp._version=sa.version;
33
+
update pools p set price_oracle=sa.addressfrom sync_adapters sa where type='PriceOracle'and(case when p._version=1 then 2 else p._version end)=sa.version;
34
34
35
35
update token_oracle set disabled_at=19752044where version=2; -- don't disable for v1
36
36
update token_oracle set disabled_at=13856183where feed='0xc170DC3C2e8809AC6197D56b86bF421c8a7f8c67'; -- all for v1
casecore.Topic("SetAddress(bytes32,address,uint256)"):// can be used for version 310 address provider too. set PriceOracle acl contractregister are not emitted thought
0 commit comments