-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stdlib] Implement a generic Oracle data protocol #2732
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2732 +/- ##
==========================================
- Coverage 31.93% 31.70% -0.23%
==========================================
Files 508 508
Lines 44774 44774
Branches 19930 19930
==========================================
- Hits 14295 14189 -106
- Misses 16500 16810 +310
+ Partials 13979 13775 -204
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Benchmark for cd2c6a0Click to view benchmark
|
} | ||
|
||
struct OracleFeed<OracleT: copy+store+drop, ValueT: copy+store+drop> has key { | ||
record: DataRecord<ValueT>, |
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.
oraclefeed 里建议加上 data source id
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.
是在 DataRecord 里还是 OracleFeed?如果是 OracleFeed 的话感觉没必要,OracleFeed 和 DataSource 都在同一个账号下,只有一份
Benchmark for b323712Click to view benchmark
|
Benchmark for 2b7b27eClick to view benchmark
|
Benchmark for 6acf1efClick to view benchmark
|
Benchmark for 46bfbe0Click to view benchmark
|
在 #2727 的基础上进行重构