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
getId function in feed/handler.ts seems overcomplicated, you do not need to calculate binary merkle tree to get 32 bytes of topic. you should just hash the topic and the uint64 bytes of epoch ID together. it is slower currently than what has just been mentioned before and also more expensive to elaborate any feed-signature related logic in smart contract later.
The text was updated successfully, but these errors were encountered:
getId
function infeed/handler.ts
seems overcomplicated, you do not need to calculate binary merkle tree to get 32 bytes of topic. you should just hash the topic and the uint64 bytes of epoch ID together. it is slower currently than what has just been mentioned before and also more expensive to elaborate any feed-signature related logic in smart contract later.The text was updated successfully, but these errors were encountered: