EpochID calculation
nugaon opened this issue · comments
nugaon commented
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.