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

migration guide update #6130

Merged
merged 1 commit into from
May 31, 2023
Merged
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
21 changes: 16 additions & 5 deletions docs/docs/guides/web3_migration_guide/web3_eth_ens.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sidebar_label: web3.eth.ens
- All the API level interfaces returning or accepting `null` in 1.x, use `undefined` in 4.x.
- Functions don't accept a callback anymore.
- Functions that accepted an optional `TransactionConfig` as the last argument, now accept an optional `NonPayableCallOptions`. See `web3-eth-contract` package for more details.
- List of web3-eth-ens set functions are removed in 4.x

#### receipt

Expand Down Expand Up @@ -43,8 +44,18 @@ sidebar_label: web3.eth.ens

- In 4.x a `bigint` is returned instead of a `number`.

### Not implemented (yet)

- The following functions are implemented yet:
- `getMultihash`
- `setMultihash`
### Removed functions

- `getMultihash` is not supported in web3-eth-ens 4.x as it's deprecated in ENS public resolver
- Following functions are not supported in web3-eth-ens 4.x :
`setResolver`
`setSubnodeRecord`
`setApprovalForAll`
`isApprovedForAll`
`setSubnodeOwner`
`setTTL`
`setOwner`
`setRecord`
`setAddress`
`setPubkey`
`setContenthash`