Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions contracts/utils/structs/CheckpointsConfidential.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ import {Checkpoints} from "./temporary-Checkpoints.sol";
library CheckpointsConfidential {
using Checkpoints for Checkpoints.Trace256;

/**
* @dev A value was attempted to be inserted on a past checkpoint.
*/
error CheckpointUnorderedInsertion();

struct TraceEuint32 {
Checkpoints.Trace256 _inner;
}
Expand Down
8 changes: 0 additions & 8 deletions scripts/generate/templates/CheckpointsConfidential.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ const libraryUsage = `\
using Checkpoints for Checkpoints.Trace256;
`;

const errors = `\
/**
* @dev A value was attempted to be inserted on a past checkpoint.
*/
error CheckpointUnorderedInsertion();
`;

const template = opts => `\
struct ${opts.historyTypeName} {
Checkpoints.Trace256 _inner;
Expand Down Expand Up @@ -125,7 +118,6 @@ module.exports = format(
format(
[].concat(
libraryUsage,
errors,
OPTS.map(opts => template(opts)),
),
).trimEnd(),
Expand Down
Loading