Skip to content

Commit

Permalink
update tightcoder renderers
Browse files Browse the repository at this point in the history
  • Loading branch information
dk1a committed Jul 19, 2023
1 parent eeb15cc commit ce3f4a5
Show file tree
Hide file tree
Showing 18 changed files with 733 additions and 853 deletions.
10 changes: 2 additions & 8 deletions packages/store/gas-report.json
Original file line number Diff line number Diff line change
Expand Up @@ -689,12 +689,6 @@
"name": "decode packed bytes32[]",
"gasUsed": 611
},
{
"file": "test/tightcoder/EncodeArray.t.sol",
"test": "testEncodeBytesArray",
"name": "encode packed bytes[]",
"gasUsed": 1357
},
{
"file": "test/tightcoder/EncodeArray.t.sol",
"test": "testEncodeUint16Array",
Expand All @@ -717,13 +711,13 @@
"file": "test/tightcoder/TightCoder.t.sol",
"test": "testFromAndToUint32Array",
"name": "decode packed uint32[]",
"gasUsed": 788
"gasUsed": 785
},
{
"file": "test/tightcoder/TightCoder.t.sol",
"test": "testToAndFromBytes24Array",
"name": "encode packed bytes24[]",
"gasUsed": 886
"gasUsed": 880
},
{
"file": "test/tightcoder/TightCoder.t.sol",
Expand Down
2 changes: 1 addition & 1 deletion packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"clean:typechain": "rimraf types",
"dev": "tsup --watch",
"gas-report": "mud-gas-report --save gas-report.json",
"generate-tightcoder": "tsx ./scripts/generate-tightcoder.ts && prettier --write '**/tightcoder/*.sol'",
"generate-tightcoder": "tsx ./ts/scripts/generate-tightcoder.ts",
"lint": "solhint --config ./.solhint.json 'src/**/*.sol'",
"test": "vitest typecheck --run && vitest --run --passWithNoTests && forge test"
},
Expand Down
2 changes: 0 additions & 2 deletions packages/store/src/Bytes.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

import { SliceLib } from "./Slice.sol";

library Bytes {
/**
* Converts a `bytes` memory blob to a single `bytes32` memory value, starting at the given byte offset.
Expand Down
83 changes: 0 additions & 83 deletions packages/store/src/tightcoder/DecodeSlice.ejs

This file was deleted.

Loading

0 comments on commit ce3f4a5

Please sign in to comment.