Skip to content

Commit

Permalink
Implement fork 7 Full Tracer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fractasy committed Nov 21, 2023
1 parent 2b5873f commit 42dd1e5
Show file tree
Hide file tree
Showing 13 changed files with 628 additions and 183 deletions.
7 changes: 7 additions & 0 deletions src/main_sm/fork_1/main/full_tracer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ class FullTracer: public FullTracerInterface
{
return finalTrace.responses;
}
vector<Block> emptyBlocks;
vector<Block> & get_block_responses(void)
{
zklog.error("FullTracer::get_block_responses() called in fork 1");
exitProcess();
return emptyBlocks;
}
vector<Opcode> & get_info(void)
{
return full_trace;
Expand Down
7 changes: 7 additions & 0 deletions src/main_sm/fork_2/main/full_tracer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ class FullTracer: public FullTracerInterface
{
return finalTrace.responses;
}
vector<Block> emptyBlocks;
vector<Block> & get_block_responses(void)
{
zklog.error("FullTracer::get_block_responses() called in fork 2");
exitProcess();
return emptyBlocks;
}
vector<Opcode> & get_info(void)
{
return full_trace;
Expand Down
7 changes: 7 additions & 0 deletions src/main_sm/fork_3/main/full_tracer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ class FullTracer: public FullTracerInterface
{
return finalTrace.responses;
}
vector<Block> emptyBlocks;
vector<Block> & get_block_responses(void)
{
zklog.error("FullTracer::get_block_responses() called in fork 3");
exitProcess();
return emptyBlocks;
}
vector<Opcode> & get_info(void)
{
return full_trace;
Expand Down
7 changes: 7 additions & 0 deletions src/main_sm/fork_4/main/full_tracer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ class FullTracer: public FullTracerInterface
{
return finalTrace.responses;
}
vector<Block> emptyBlocks;
vector<Block> & get_block_responses(void)
{
zklog.error("FullTracer::get_block_responses() called in fork 4");
exitProcess();
return emptyBlocks;
}
vector<Opcode> & get_info(void)
{
return full_trace;
Expand Down
7 changes: 7 additions & 0 deletions src/main_sm/fork_5/main/full_tracer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ class FullTracer: public FullTracerInterface
{
return finalTrace.responses;
}
vector<Block> emptyBlocks;
vector<Block> & get_block_responses(void)
{
zklog.error("FullTracer::get_block_responses() called in fork 5");
exitProcess();
return emptyBlocks;
}
vector<Opcode> & get_info(void)
{
return full_trace;
Expand Down
7 changes: 7 additions & 0 deletions src/main_sm/fork_6/main/full_tracer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ class FullTracer: public FullTracerInterface
{
return finalTrace.responses;
}
vector<Block> emptyBlocks;
vector<Block> & get_block_responses(void)
{
zklog.error("FullTracer::get_block_responses() called in fork 6");
exitProcess();
return emptyBlocks;
}
vector<Opcode> & get_info(void)
{
return full_trace;
Expand Down
Loading

0 comments on commit 42dd1e5

Please sign in to comment.