This PR merges the work done in #13 and #14. It was simpler to create a new PR than to rebase them.
Introduce a new component DiffOpcodes that renders the diff between chain opcodes. Screenshots of the rendering are available in the description of #14.
Update the logic of pages/diff.tsx to render the proper SectionComponent using SECTION_MAP. It also enables to hide some sections such as the DiffOpcodes for now.
Create a new types module and create a file for each important "type" (e.g. Chain, Opcode, etc.).
Add a new Reference type in Opcode type to add a bit of context to a url via a title.
Related to #6
This PR merges the work done in #13 and #14. It was simpler to create a new PR than to rebase them.
DiffOpcodes
that renders the diff between chain opcodes. Screenshots of the rendering are available in the description of #14.pages/diff.tsx
to render the properSectionComponent
usingSECTION_MAP
. It also enables to hide some sections such as theDiffOpcodes
for now.types
module and create a file for each important "type" (e.g.Chain
,Opcode
, etc.).Reference
type inOpcode
type to add a bit of context to a url via atitle
.