209 похожих чатов

Делаю миграцию из ethers v5 -> v6 Поменял команду с solidityKeccak256

на solidityPackedKeccak256, но получаю ошибку TypeError: Cannot read properties of undefined (reading 'solidityPackedKeccak256')

При этом, если вывести в консоль объект ethers я четко вижу эту функцию

В чем может быть проблема?

8 ответов

9 просмотров
Миша 🤘- Автор вопроса

Нет, там все выводится норм, на скриншоте есть

Больше кода нужно, где логаешь, может у тебя на тот момент ethers недоступен

Миша 🤘
Нет, там все выводится норм, на скриншоте есть

https://github.com/ethers-io/ethers.js/issues/4289#issuecomment-1662268944

Методы доступны в ethers, а не в ethers.utils ты ведь залогов к тому же

Миша 🤘- Автор вопроса
Миша 🤘- Автор вопроса
Egor
Методы доступны в ethers, а не в ethers.utils ты в...

Ты прав, как-то и не подумал сразу. Я почему-то подумал, что "вложенные" методы тоже выводятся в консоль

Похожие вопросы

Обсуждают сегодня

Is it a good price to buy hex now on 0,0019?
Patrick
29
Hey folks, If I buy XMR via p2p or atomic swaps, does that impact on its price? Or is that equivalent to transferring from one wallet to another with no impact on price?
𐌊aD𐌍€Z̷̷zꍏ☈ 𝟛
13
hi, just reinstalled komodo wallet, and can't find ARRR on there? tried to search ARRR and pirate and nothing came up... is arrr still supported on komodo wallet. it's been ...
Pilner
10
Hi everyone, long time no see! 🐼 recently i want to update our Ergo Eco-System map, can everyone help to find out, which to delete and other new to add in? list it, that i can...
HEROKOO
15
Anyone here? i had questions about this Hex platform
Mark Keller
9
30 BCH videos in Hausa Language successfully delivered. In December 2023, I created a Flipstarter to produce Bitcoin Cash videos in the Hausa language for greater outreach an...
Munnir
9
If arrr gets implemented on cake wallet. Would that mean arrr/xmr swaps possible in cake wallet like atomic swaps on komodowallet ?
Keks Meister 🏴‍☠️
22
Only just noticed Arrr has gone up. Any particular reason?
⚡️⚡️PHIL⚡️⚡️
11
55. Hi, how's everything with you?TG大会員2U|82. How's life?TG会員2U|83. Hi, how's everything been treating you?飞机会員2U|84. How's your day been so far?電报会員2U|85. Hey, how's everythi...
Allice Grace
2
I will wait, no problem, I invested in other project also, but with my 8 years experience I can see when something is not good enough. Last bull market everyone was so excited...
jeronim jurakovic
1
Карта сайта