Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(protocol): remove internal variables and functions #419

Merged
merged 7 commits into from
Dec 15, 2022
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
6 changes: 0 additions & 6 deletions packages/website/docs/reference/smart-contracts/L1/TaikoL1.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ struct LibData.State state
struct LibData.TentativeState tentative
```

### \_\_gap

```solidity
uint256[50] __gap
```

### init

```solidity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

_This is Taiko's governance and fee token._

### \_\_gap

```solidity
uint256[50] __gap
```

### Mint

Expand Down
18 changes: 0 additions & 18 deletions packages/website/docs/reference/smart-contracts/L2/TaikoL2.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ bytes32 publicInputHash
bytes32 latestSyncedHeader
```

### \_\_gap

```solidity
uint256[46] __gap
```

### BlockInvalidated

```solidity
Expand Down Expand Up @@ -101,15 +95,3 @@ function getBlockHash(uint256 number) public view returns (bytes32)
```solidity
function getConstants() public pure returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256)
```

### \_checkPublicInputs

```solidity
function _checkPublicInputs() private
```

### \_hashPublicInputs

```solidity
function _hashPublicInputs(uint256 chainId, uint256 number, uint256 baseFee, bytes32[255] ancestors) private pure returns (bytes32)
```
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ _The code hash for the same address on L1 and L2 may be different._
struct LibBridgeData.State state
```

### \_\_gap

```solidity
uint256[50] __gap
```

### MessageStatusChanged

```solidity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ address srcToken
uint256 srcChainId
```

### \_\_gap

```solidity
uint256[48] __gap
```

### BridgeMint

```solidity
Expand Down