Skip to content

Conversation

@peachbits
Copy link
Contributor

@peachbits peachbits commented Sep 5, 2025

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

EdgeApp/edge-currency-accountbased#975
EdgeApp/edge-currency-plugins#439

Description

none

@peachbits peachbits marked this pull request as draft September 5, 2025 06:52
cursor[bot]

This comment was marked as outdated.

@peachbits peachbits marked this pull request as ready for review September 8, 2025 20:40
AGENTS.md Outdated

- **TypeScript**: Strict mode enabled, target ES2015, module ES2020
- **Imports**: Use simple-import-sort, group by external/internal/relative
- **Formatting**: Prettier via eslint-config-standard-kit, 2-space indent, semicolons
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Prettier and Standard.js" might prompt better, and we don't use semicolons.

AGENTS.md Outdated
## Code Style Guidelines

- **TypeScript**: Strict mode enabled, target ES2015, module ES2020
- **Imports**: Use simple-import-sort, group by external/internal/relative
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"group by external, then internal" is more correct.

AGENTS.md Outdated

## Build/Test/Lint Commands

- **Test**: `npm test` (single test: `mocha test/path/to/file.test.ts`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(single test: npm test test/path/to/file.test.ts)

for (const id of Object.keys(customFeeCacheMap)) {
if (Date.now() > customFeeCacheMap[id].timestamp + 30000) {
delete customFeeCacheMap[id] // eslint-disable-line
delete customFeeCacheMap[id]; // eslint-disable-line
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did this pass lint?

Comment on lines 88 to 89
makeTxParams.unsignedTx,
makeTxParams.metadata
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems wrong. The makeTx function takes MakeTxParams, which has a type field inside it. These two arguments shouldn't be broken out like this, but makeTxParams should be passed as-is.

if (contractAddress === '0x0000000000000000000000000000000000000000') {
return null
} else {
const fakeToken: EdgeToken = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// Pack the contractAddress into a dummy EdgeToken:

Copy link
Contributor

@swansontec swansontec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bridgeless seems fine on its own, and all of the changes are in Sam's initial commits. If you just cherry-pick the last commit, that would be acceptable. Otherwise it's "changes needed"

cursor[bot]

This comment was marked as outdated.

@peachbits peachbits merged commit b79633a into master Sep 9, 2025
2 checks passed
@peachbits peachbits deleted the matthew/bridgeless branch September 9, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants