File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
4949- Compiling stuck in the browser for recursive zkprograms https://github.com/o1-labs/o1js/pull/1906
5050- Error message in ` rangeCheck16 ` gadget https://github.com/o1-labs/o1js/pull/1920
5151- Deprecate ` testnet ` ` networkId ` in favor of ` devnet ` https://github.com/o1-labs/o1js/pull/1938
52+ - Fix event data type inconsistency between LocalBlockchain and Mina https://github.com/o1-labs/o1js/pull/1975
5253
5354## [ 2.1.0] ( https://github.com/o1-labs/o1js/compare/b04520d...e1bac02 ) - 2024-11-13
5455
Original file line number Diff line number Diff line change @@ -236,9 +236,9 @@ async function LocalBlockchain({
236236 events [ addr ] ??= { } ;
237237 if ( p . body . events . data . length > 0 ) {
238238 events [ addr ] [ tokenId ] ??= [ ] ;
239- let updatedEvents = p . body . events . data . map ( ( data ) => {
239+ let updatedEvents = p . body . events . data . map ( ( data : Field [ ] ) => {
240240 return {
241- data,
241+ data : data . map ( e => e . toString ( ) ) ,
242242 transactionInfo : {
243243 transactionHash : '' ,
244244 transactionStatus : '' ,
You can’t perform that action at this time.
0 commit comments