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

Fix URLs to Optimism specs #64

Merged
merged 4 commits into from
May 9, 2024
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
10 changes: 5 additions & 5 deletions src/chains/optimism/eips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const eip1559OnOptimism: EIP = {
],
references: [
...eip1559OnMainnet.references,
'https://github.com/ethereum-optimism/specs/blob/main/specs/exec-engine.md#1559-parameters',
'https://github.com/ethereum-optimism/specs/blob/main/specs/superchain-upgrades.md#canyon',
'https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/exec-engine.md#1559-parameters',
'https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/superchain-upgrades.md#canyon',
],
};

Expand All @@ -42,7 +42,7 @@ const eip4399OnOptimism: EIP = {
],
references: [
...eip1399OnMainnet.references,
'https://github.com/ethereum-optimism/specs/blob/main/specs/derivation.md#building-individual-payload-attributes',
'https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/derivation.md#building-individual-payload-attributes',
'https://github.com/mds1/evm-diff/issues/21',
],
};
Expand All @@ -54,8 +54,8 @@ const eip4895OnOptimism: EIP = {
],
references: [
...eip4895OnMainnet.references,
'https://github.com/ethereum-optimism/specs/blob/main/specs/derivation.md#building-individual-payload-attributes',
'https://github.com/ethereum-optimism/specs/blob/main/specs/superchain-upgrades.md#canyon',
'https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/derivation.md#building-individual-payload-attributes',
'https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/superchain-upgrades.md#canyon',
],
};

Expand Down
2 changes: 1 addition & 1 deletion src/chains/optimism/hardforks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// List of Optimism's past Bedrock hard forks.
// https://docs.optimism.io/builders/node-operators/network-upgrades/overview#activations
// https://github.com/ethereum-optimism/specs/blob/main/specs/superchain-upgrades.md#post-bedrock-network-upgrades
// https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/superchain-upgrades.md#post-bedrock-network-upgrades
export enum OptimismHardfork {
Regolith,
Canyon,
Expand Down
2 changes: 1 addition & 1 deletion src/chains/optimism/signatureTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const depositTx: SignatureType = {
],
signs: 'transaction',
references: [
'https://github.com/ethereum-optimism/specs/blob/main/specs/deposits.md#the-deposited-transaction-type',
'https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/deposits.md#the-deposited-transaction-type',
'https://github.com/ethereum-optimism/specs/blob/main/specs/glossary.md#deposited-transaction',
],
notes: [
Expand Down
2 changes: 1 addition & 1 deletion src/chains/optimism/vm/opcodes/block/prevrandao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const prevrandao: Omit<Opcode, 'supportedHardforks'> = {
description:
"Returns the random output of the L1 beacon chain's randomness oracle. This value lags behind the L1 block's prevrandao value by approximately 5 L1 blocks, and is updated when the `L1BlockInfo` predeploy is updated.",
references: [
'https://github.com/ethereum-optimism/specs/blob/main/specs/derivation.md#building-individual-payload-attributes',
'https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/derivation.md#building-individual-payload-attributes',
'https://github.com/mds1/evm-diff/issues/21',
],
};
3 changes: 2 additions & 1 deletion src/chains/optimism/vm/predeploys.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Predeploy } from '@/types';

const PREDEPLOYS_SPEC = 'https://github.com/ethereum-optimism/specs/blob/main/specs/predeploys.md';
const PREDEPLOYS_SPEC =
'https://github.com/ethereum-optimism/specs/blob/main/specs/protocol/predeploys.md';

export const predeploys: Predeploy[] = [
{
Expand Down
Loading