3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

no plan inc.Advent Calendar 2022

Day 13

solidityで存在しないメソッドをcallした時のエラーは2パターンある!

Last updated at Posted at 2022-12-12

これはno plan inc.の Advent Calendar 2022の13日目の記事です。

コントラクトに存在しないメソッドをcallしようとした時にノードが返すエラーメッセージは実は二種類あります!

  • invalid opcode: INVALID
  • execution reverted

前者は0.4系、後者は0.6系以降で使われているようです。

詳しい境目は分りませんでした!
いかがでしたか?

no plan株式会社について

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?