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

feat(bridge-ui): remove two step and change gasLimit #16765

Merged
merged 20 commits into from
Apr 24, 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
5 changes: 4 additions & 1 deletion packages/bridge-ui/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ export CONFIGURED_RELAYER=
export CONFIGURED_EVENT_INDEXER=

# Show the slow L1 bridging warning
export PUBLIC_SLOW_L1_BRIDGING_WARNING=false
export PUBLIC_SLOW_L1_BRIDGING_WARNING=false

# Fees
export PUBLIC_BASE_FEE_MULTIPLIER =
30 changes: 2 additions & 28 deletions packages/bridge-ui/__mocks__/$customToken.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,3 @@
import { zeroAddress } from 'viem';
import { MOCK_ERC20, MOCK_ERC721 } from './../src/tests/mocks/tokens';

const mockERC20 = {
name: 'MockERC20',
addresses: { '1': zeroAddress },
symbol: 'MTF',
decimals: 18,
type: 'ERC20',
};

const mockERC1155 = {
name: 'MockERC1155',
addresses: { '1': zeroAddress },
symbol: 'MNFT',
balance: 1337n,
tokenId: 123,
uri: 'some/uri/123',
type: 'ERC1155',
};

const mockERC721 = {
name: 'MockERC721',
addresses: { '1': zeroAddress },
symbol: 'MNFT',
decimals: 18,
type: 'ERC721',
};

export const customToken = [mockERC20, mockERC1155, mockERC721];
export const customToken = [MOCK_ERC20, MOCK_ERC721, MOCK_ERC721];
Loading
Loading