-
Notifications
You must be signed in to change notification settings - Fork 1
Update Constant Update gas-price TimeSeriesFeed #58
Conversation
uint256[] memory currentTimeSeriesValues = _self.readListMemory(1); | ||
return currentTimeSeriesValues[0]; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Remove space
pragma solidity 0.5.7; | ||
pragma experimental "ABIEncoderV2"; | ||
import { LinkedListLibraryV2 } from "./LinkedListLibraryV2.sol"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove extra space
|
||
import { OracleWrapper } from '@utils/wrappers/oracleWrapper'; | ||
|
||
import { TimeSeriesFeedState } from '../../../types/timeSeriesFeed'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think we'll want to move this into set-protocol-utils because it's used in setProtocol.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But fine with it here as a temporary measure.
}); | ||
|
||
describe('#read', async () => { | ||
describe.only('#read', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove .only
types/timeSeriesFeed.ts
Outdated
@@ -0,0 +1,13 @@ | |||
import { BigNumber } from "bignumber.js"; | |||
|
|||
export interface LinkedList { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suppose we'd also have to add this to set-protocol-utils
|
||
return outputArray; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove extra space
No description provided.