Skip to content

Commit

Permalink
Merge branch 'addtl_int_tests' into fix_mixHash
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik authored Feb 16, 2023
2 parents 0bb361b + f8230f9 commit 512cec9
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 47 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ jobs:
tokenomics
website
whitepaper
requireScope: true
2 changes: 1 addition & 1 deletion packages/protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"prettier-plugin-solidity": "^1.1.2",
"rlp": "^3.0.0",
"solhint": "^3.3.8",
"solidity-coverage": "github:cyberhorsey/solidity-coverage",
"solidity-coverage": "github:taikoxyz/solidity-coverage",
"solidity-docgen": "^0.6.0-beta.34",
"ts-node": "^10.5.0",
"typechain": "^5.2.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/protocol/test/L1/TaikoL1.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ describe("integration:TaikoL1", function () {
for await (const blockNumber of chan) {
if (
blockNumber >
genesisHeight + config.maxNumBlocks.toNumber()
genesisHeight + config.maxNumBlocks.toNumber() - 1
) {
break;
}
Expand Down Expand Up @@ -233,7 +233,6 @@ describe("integration:TaikoL1", function () {
const verifiedEvent = await verifyBlocks(taikoL1, 1);
expect(verifiedEvent).not.to.be.undefined;

console.log(verifiedEvent.args);
forkChoice = await taikoL1.getForkChoice(
proposedEvent.args.id.toNumber(),
block.parentHash
Expand Down
8 changes: 4 additions & 4 deletions packages/website/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ export default function Footer() {
return (
<footer className="bg-neutral-100 dark:bg-neutral-900">
<div className="mx-auto max-w-[90rem]">
<div className="grid grid-cols-2 pl-[max(env(safe-area-inset-left),1.5rem)] pr-[max(env(safe-area-inset-right),1.5rem)] py-8 md:grid-cols-3 ">
<div className="grid grid-cols-2 pl-[max(env(safe-area-inset-left),1.5rem)] pr-[max(env(safe-area-inset-right),1.5rem)] py-8 md:grid-cols-3">
<div>
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300">
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300 pt-3">
About
</h2>
<ul className="text-neutral-500 dark:text-neutral-400">
Expand Down Expand Up @@ -38,7 +38,7 @@ export default function Footer() {
</ul>
</div>
<div>
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300">
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300 pt-3">
Developers
</h2>
<ul className="text-neutral-500 dark:text-neutral-400">
Expand Down Expand Up @@ -68,7 +68,7 @@ export default function Footer() {
</ul>
</div>
<div>
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300">
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300 pt-3">
Follow us
</h2>
<ul className="text-neutral-500 dark:text-neutral-400">
Expand Down
2 changes: 1 addition & 1 deletion packages/website/pages/docs/learn/bridging.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ERC-20 tokens originate from a canonical chain. To send a token and bridge it to

Here are the overall steps for transferring canonical ERC-20 from a source chain to the destination chain:

1. A contract for the ERC-20 must first be deployed on the destination chain
1. A contract for the ERC-20 must first be deployed on the destination chain (will be done automatically by the TokenVault if not already deployed)

2. Call sendERC20 on the source chain TokenVault, this will **transfer** the amount by using the `safeTransferFrom` function on the canonical ERC-20 contract, on the source chain, to the TokenVault.

Expand Down
5 changes: 4 additions & 1 deletion packages/website/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default {
chat: {
link: "https://discord.gg/taikoxyz",
},
darkMode: true,
docsRepositoryBase:
"https://github.com/taikoxyz/taiko-mono/blob/main/packages/website",
editLink: {
Expand Down Expand Up @@ -46,6 +47,9 @@ export default {
);
},
logo: <ThemedImage />,
nextThemes: {
defaultTheme: "light",
},
primaryHue: 315,
project: {
link: "https://github.com/taikoxyz",
Expand All @@ -55,5 +59,4 @@ export default {
titleTemplate: "%s – Taiko",
};
},
darkMode: true,
};
74 changes: 36 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 512cec9

Please sign in to comment.