Add non-value types in EnumerableSet and EnumerableMap (#5658)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
Ernesto García
2025-06-03 08:26:06 -06:00
committed by GitHub
parent 4bafedfe72
commit 784d4f71b1
13 changed files with 770 additions and 101 deletions

View File

@ -176,7 +176,7 @@ function shouldBehaveLikeMap() {
.withArgs(
this.key?.memory || this.value?.memory
? this.keyB
: ethers.AbiCoder.defaultAbiCoder().encode([this.keyType], [this.keyB]),
: ethers.AbiCoder.defaultAbiCoder().encode([this.key.type], [this.keyB]),
);
});
});