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

Modify Name Lookup Snap for Fuzzy Searching #2753

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
small fix
bowensanders committed Sep 24, 2024
commit 1ed9ffc02a857ac935f2a08230fcd418c5762301
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "+2tvVrCeAmrz5nv0HN569OSbpYUKvoSlnfroKg92GrU=",
"shasum": "jYVSW1ljYZwbnptZXUqxzOqj8EM+9ot5m5cM5J5KBiU=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
2 changes: 1 addition & 1 deletion packages/examples/packages/name-lookup/src/index.ts
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ export const onNameLookup: OnNameLookupHandler = async (request) => {
if (domain) {
const resolutions = {
fooBar: '0xc0ffee254729296a45a3885639AC7E10F9d54979',
bartholemew: '0x0000000000000000000000000000000000000000',
bar: '0x0000000000000000000000000000000000000000',
barstool: '0x1234567890123456789012345678901234567890',
};


Unchanged files with check annotations Beta

describe('fetch', () => {
// This test is disabled as it is flaky.
it.skip('fetches a URL and returns the JSON response', async () => {

Check warning on line 28 in packages/examples/packages/network-access/src/index.test.ts

GitHub Actions / Build, lint, and test / Lint (@metamask/network-example-snap)

Disabled test
const { request } = await installSnap({
executionService: NodeProcessExecutionService,
});
});
// This isn't stable in CI unfortunately
it.skip('throws if the Snap is terminated while executing', async () => {

Check warning on line 1851 in packages/snaps-controllers/src/snaps/SnapController.test.tsx

GitHub Actions / Build, lint, and test / Lint (@metamask/snaps-controllers)

Disabled test
const { manifest, sourceCode, svgIcon } =
await getMockSnapFilesWithUpdatedChecksum({
sourceCode: `