Skip to content

Commit

Permalink
Remove feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Nov 14, 2024
1 parent 5fa2984 commit f3e278b
Show file tree
Hide file tree
Showing 8 changed files with 181 additions and 57 deletions.
2 changes: 0 additions & 2 deletions builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,6 @@ env:
- BARAD_DUR: ''
# Determines if feature flagged Chain permissions
- CHAIN_PERMISSIONS: ''
# Determines if Portfolio View UI should be shown
- PORTFOLIO_VIEW: ''
# Enables use of test gas fee flow to debug gas fee estimation
- TEST_GAS_FEE_FLOWS: false
# Temporary mechanism to enable security alerts API prior to release
Expand Down
3 changes: 0 additions & 3 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2603,9 +2603,6 @@
}
},
"@metamask/signature-controller": {
"globals": {
"fetch": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
Expand Down
3 changes: 0 additions & 3 deletions lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2603,9 +2603,6 @@
}
},
"@metamask/signature-controller": {
"globals": {
"fetch": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
Expand Down
3 changes: 0 additions & 3 deletions lavamoat/browserify/main/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2603,9 +2603,6 @@
}
},
"@metamask/signature-controller": {
"globals": {
"fetch": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
Expand Down
3 changes: 0 additions & 3 deletions lavamoat/browserify/mmi/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2695,9 +2695,6 @@
}
},
"@metamask/signature-controller": {
"globals": {
"fetch": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
Expand Down
180 changes: 160 additions & 20 deletions lavamoat/build-system/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,22 @@
"console.warn": true
},
"packages": {
"@babel/core>@babel/generator>@babel/types": true,
"@babel/core>@babel/generator>jsesc": true,
"@babel/core>@babel/types": true,
"terser-webpack-plugin>@jridgewell/trace-mapping": true,
"terser>@jridgewell/source-map>@jridgewell/gen-mapping": true
}
},
"@babel/core>@babel/generator>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/core>@babel/generator>jsesc": {
"globals": {
"Buffer": true
Expand Down Expand Up @@ -172,25 +182,65 @@
"assert": true
},
"packages": {
"@babel/core>@babel/types": true
"@babel/core>@babel/helper-module-transforms>@babel/helper-module-imports>@babel/types": true
}
},
"@babel/core>@babel/helper-module-transforms>@babel/helper-module-imports>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/core>@babel/helper-module-transforms>@babel/helper-simple-access": {
"packages": {
"@babel/core>@babel/types": true
"@babel/core>@babel/helper-module-transforms>@babel/helper-simple-access>@babel/types": true
}
},
"@babel/core>@babel/helper-module-transforms>@babel/helper-simple-access>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/core>@babel/helpers": {
"packages": {
"@babel/core>@babel/template": true,
"@babel/core>@babel/types": true
"@babel/core>@babel/helpers>@babel/types": true,
"@babel/core>@babel/template": true
}
},
"@babel/core>@babel/helpers>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/core>@babel/template": {
"packages": {
"@babel/code-frame": true,
"@babel/core>@babel/parser": true,
"@babel/core>@babel/types": true
"@babel/core>@babel/template>@babel/types": true
}
},
"@babel/core>@babel/template>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/core>@babel/types": {
Expand Down Expand Up @@ -431,10 +481,20 @@
"@babel/preset-env>@babel/plugin-transform-async-to-generator>@babel/helper-remap-async-to-generator>@babel/helper-wrap-function": {
"packages": {
"@babel/core>@babel/template": true,
"@babel/core>@babel/types": true,
"@babel/preset-env>@babel/plugin-transform-async-to-generator>@babel/helper-remap-async-to-generator>@babel/helper-wrap-function>@babel/types": true,
"depcheck>@babel/traverse": true
}
},
"@babel/preset-env>@babel/plugin-transform-async-to-generator>@babel/helper-remap-async-to-generator>@babel/helper-wrap-function>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/preset-env>@babel/plugin-transform-block-scoped-functions": {
"packages": {
"@babel/core": true,
Expand Down Expand Up @@ -472,7 +532,17 @@
},
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-annotate-as-pure": {
"packages": {
"@babel/core>@babel/types": true
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-annotate-as-pure>@babel/types": true
}
},
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-annotate-as-pure>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-replace-supers": {
Expand All @@ -485,12 +555,32 @@
},
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-replace-supers>@babel/helper-member-expression-to-functions": {
"packages": {
"@babel/core>@babel/types": true
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-replace-supers>@babel/helper-member-expression-to-functions>@babel/types": true
}
},
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-replace-supers>@babel/helper-member-expression-to-functions>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-replace-supers>@babel/helper-optimise-call-expression": {
"packages": {
"@babel/core>@babel/types": true
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-replace-supers>@babel/helper-optimise-call-expression>@babel/types": true
}
},
"@babel/preset-env>@babel/plugin-transform-classes>@babel/helper-replace-supers>@babel/helper-optimise-call-expression>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/preset-env>@babel/plugin-transform-computed-properties": {
Expand Down Expand Up @@ -585,7 +675,17 @@
},
"@babel/preset-env>@babel/plugin-transform-exponentiation-operator>@babel/helper-builder-binary-assignment-operator-visitor": {
"packages": {
"@babel/core>@babel/types": true
"@babel/preset-env>@babel/plugin-transform-exponentiation-operator>@babel/helper-builder-binary-assignment-operator-visitor>@babel/types": true
}
},
"@babel/preset-env>@babel/plugin-transform-exponentiation-operator>@babel/helper-builder-binary-assignment-operator-visitor>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/preset-env>@babel/plugin-transform-export-namespace-from": {
Expand All @@ -603,7 +703,17 @@
},
"@babel/preset-env>@babel/plugin-transform-for-of>@babel/helper-skip-transparent-expression-wrappers": {
"packages": {
"@babel/core>@babel/types": true
"@babel/preset-env>@babel/plugin-transform-for-of>@babel/helper-skip-transparent-expression-wrappers>@babel/types": true
}
},
"@babel/preset-env>@babel/plugin-transform-for-of>@babel/helper-skip-transparent-expression-wrappers>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"@babel/preset-env>@babel/plugin-transform-function-name": {
Expand Down Expand Up @@ -1151,6 +1261,17 @@
"@metamask/object-multiplex>once>wrappy": true
}
},
"@metamask/snaps-utils>@babel/types": {
"globals": {
"console.warn": true,
"process.env.BABEL_TYPES_8_BREAKING": true
},
"packages": {
"@metamask/snaps-utils>@babel/types>@babel/helper-string-parser": true,
"@metamask/snaps-utils>@babel/types>@babel/helper-validator-identifier": true,
"@metamask/snaps-utils>@babel/types>to-fast-properties": true
}
},
"@metamask/utils>@scure/base": {
"globals": {
"TextDecoder": true,
Expand Down Expand Up @@ -2040,7 +2161,8 @@
"chokidar>normalize-path": true,
"chokidar>readdirp": true,
"del>is-glob": true,
"eslint>glob-parent": true
"eslint>glob-parent": true,
"tsx>fsevents": true
}
},
"chokidar>anymatch": {
Expand Down Expand Up @@ -2270,12 +2392,22 @@
"@babel/core>@babel/generator": true,
"@babel/core>@babel/parser": true,
"@babel/core>@babel/template": true,
"@babel/core>@babel/types": true,
"babel/preset-env>b@babel/types": true,
"depcheck>@babel/traverse>@babel/types": true,
"depcheck>@babel/traverse>globals": true,
"nock>debug": true
}
},
"depcheck>@babel/traverse>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
}
},
"depcheck>cosmiconfig>parse-json": {
"packages": {
"@babel/code-frame": true,
Expand Down Expand Up @@ -6239,11 +6371,12 @@
"lavamoat-viz>lavamoat-core>lavamoat-tofu>@babel/traverse>@babel/types": {
"globals": {
"console.warn": true,
"process.env": true
"process.env.BABEL_TYPES_8_BREAKING": true
},
"packages": {
"@babel/core>@babel/types>@babel/helper-string-parser": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true
"@metamask/snaps-utils>@babel/types>to-fast-properties": true,
"lavamoat-viz>lavamoat-core>lavamoat-tofu>@babel/traverse>@babel/types>@babel/helper-string-parser": true,
"lavamoat-viz>lavamoat-core>lavamoat-tofu>@babel/traverse>@babel/types>@babel/helper-validator-identifier": true
}
},
"lavamoat>@lavamoat/aa": {
Expand Down Expand Up @@ -6321,17 +6454,17 @@
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-function-name": {
"packages": {
"@babel/core>@babel/template": true,
"@babel/core>@babel/types": true
"@metamask/snaps-utils>@babel/types": true
}
},
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-hoist-variables": {
"packages": {
"@babel/core>@babel/types": true
"@metamask/snaps-utils>@babel/types": true
}
},
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/helper-split-export-declaration": {
"packages": {
"@babel/core>@babel/types": true
"@metamask/snaps-utils>@babel/types": true
}
},
"lodash": {
Expand Down Expand Up @@ -8781,6 +8914,13 @@
"typescript": true
}
},
"tsx>fsevents": {
"globals": {
"console.assert": true,
"process.platform": true
},
"native": true
},
"typescript": {
"builtin": {
"buffer.Buffer": true,
Expand Down
1 change: 1 addition & 0 deletions test/e2e/default-fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ function defaultFixture(inputChainId = CHAIN_IDS.LOCALHOST) {
order: 'dsc',
sortCallback: 'stringNumeric',
},
tokenNetworkFilter: {},
shouldShowAggregatedBalancePopover: true,
},
selectedAddress: '0x5cfe73b6021e818b776b421b1c4db2474086a7e1',
Expand Down
Loading

0 comments on commit f3e278b

Please sign in to comment.