From a542058dfb168f80c31ba30239c715541286d78a Mon Sep 17 00:00:00 2001 From: Arturo Beccar-Varela <107512933+arturoBeccar@users.noreply.github.com> Date: Fri, 17 Nov 2023 17:21:37 -0300 Subject: [PATCH] Added Update on Correcting this Issue --- test-cases/own-code-hash/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-cases/own-code-hash/README.md b/test-cases/own-code-hash/README.md index e940c10..c5e1a67 100644 --- a/test-cases/own-code-hash/README.md +++ b/test-cases/own-code-hash/README.md @@ -29,3 +29,7 @@ Test 1 worked as expected in End-to-End but did not on Integration since it's [n ## Result See estimate for code_hash(). + +## Update on Correcting this Issue + +Our implementation in [PR #1988](https://github.com/paritytech/ink/pull/1988) returns the code hash of the account of the calling contract. It simply fetches the code hash stored in the database by `instantiate_contract()` or set by `set_code_hash()`.