Repository navigation
Releases
ox@1.9.0
Minor Changes
-
#727
13ae075Thanks @jxom! - ImprovedAbiEvent.extractLogstype-checking performance: with several event names the event type is selected by name without computing the overload arguments of every event, and without an event name it is the ABI's events, which also types an overloaded event's arguments as the union of its overloads instead ofunknown(5 to 10× fewer instantiations per call). -
#727
13ae075Thanks @jxom! - FixedRlp.from,Rlp.fromHexandRlp.fromBytesaccepting malformed hex leaves: a leaf with a non-hex digit, without a lowercase0xprefix (including0X…, whichHex.validateandBytes.fromHexalready rejected), or empty now throwsHex.InvalidHexValueErrorfor every output, asRlp.encodeTodoes, instead of producing invalid hex, encoding a bad single-byte leaf as0x00, or encoding a prefix-less leaf as empty. -
#720
e4fc3efThanks @jxom! - MadeAbiParametersandCbortree-shakeable by replacing their runtime namespaces with plain functions, so importing one of their errors or utilities no longer bundles packed encoding or the whole CBOR codec (AbiParameters.encodePacked.encode, an undocumented helper, is no longer exported). -
#727
13ae075Thanks @jxom! - Improved type-checking ofTypedData.encodeType,hashStruct,hashType,encodeData,encodeFieldandfindTypeDependenciesby about 700x (11,700 to 17 instantiations for a call): theirtypesparameter is a plain record of{ name, type }lists instead of abitype'sTypedData.
Patch Changes
-
#727
13ae075Thanks @jxom! - ImprovedAbiParameters.decodeperformance on data of up to 64 bytes: it copies words instead of viewing them, which V8 would first move to anArrayBufferof their own (oneuint256547 → 328 ns, oneaddress629 → 456 ns). -
#727
13ae075Thanks @jxom! - MadeAbiParameters.encodeandAbiFunction.encodeDatabuild their output as a string of hex digits instead of writing a byte buffer and hex-encoding it, skipped the integer-type regex and bound arithmetic foruint256andint256, lowercased addresses with the nativetoLowerCase, and hadAbiFunction.encodeData,AbiItem.getSelector,AbiItem.getSignatureandAbiItem.getSignatureHashtake their arguments without a rest array and closure, soAbiParameters.encoderuns about 4x faster,AbiFunction.encodeDataabout 4x faster with 4x less memory, andAbiItem.getSelectorabout 7x faster with 12x less memory, with the output and errors unchanged. -
#720
e4fc3efThanks @jxom! - Reduced the type instantiations of ABI encoding calls with inline values, such asAbiParameters.encodePacked(about 120×),AbiFunction.encodeResult(about 50×), andAbiParameters.encode,AbiFunction.encodeData,AbiError.encode,AbiConstructor.encodeandAbiEvent.encode(about 5×). -
#720
e4fc3efThanks @jxom! - DeclaredAbiError.solidityErrorandAbiError.solidityPanicas literals, so decoding or encoding an error no longer bundles the human-readable ABI parser. -
#727
13ae075Thanks @jxom! - Reduced the type instantiations ofAbiItem.fromAbi,AbiFunction.fromAbi,AbiEvent.fromAbiandAbiError.fromAbi(about 2.2×):fromAbi.Optionsdeclarespreparein each of its branches instead of intersecting it with them. -
#727
13ae075Thanks @jxom! - Reduced the type instantiations ofAbiFunction.encodeDatacalls: a function without inputs is recognized without resolving its parameter types (72 → 43 for a call without arguments). -
#727
13ae075Thanks @jxom! - MadeAbiItem.fromAbi(and thefromAbiofAbiFunction,AbiEvent,AbiError) find a uniquely named item without collecting matches into an array, which cuts the memory a lookup allocates by about 4x. -
#727
13ae075Thanks @jxom! - Removed the top-level side effects ofErrors.BaseError(its static initialization block), so bundles no longer keepBaseErrorand a module's unused error classes whenever they import anything from that module.Errors.BaseError.defaultStaticOptionsis now a getter. -
#727
13ae075Thanks @jxom! - MadeBytes.fromNumberwrite non-negative values up to 2^53, and negative signed values of up to 6 bytes, without BigInt arithmetic (about 3-4x faster for non-negative values and 3x faster for negative ones), and larger values 32 bits per BigInt operation (about 3.5x faster for 200-bit values); the output and errors are unchanged. -
#720
e4fc3efThanks @jxom! - FixedBytes.fromNumbertaking quadratic time for values or sizes above 64 bytes. -
#720
e4fc3efThanks @jxom! - FixedCbor.decodethrowing aRangeErrorfor a truncated 32-bit or 64-bit float instead ofCursor.PositionOutOfBoundsError. -
#727
13ae075Thanks @jxom! - Reduced the type instantiations ofSignatureandSignature.toRpc's input, of theas-dependent return types (Hash,Secp256k1,P256,Ed25519,Bls,Rlpand others), and ofRlp.fromHexandRlp.fromBytesoptions, without changing the resolved types. -
#727
13ae075Thanks @jxom! - Gavedistits ownpackage.json(typeandsideEffectsonly), so Node no longer parses ox's wholeexportsmap for every module it loads, which makes importing ox in Node about twice as fast (ox260 → 125 ms,ox/Hex11 → 6.5 ms). -
#727
13ae075Thanks @jxom! - MadeEns.normalizereturn names already in ENSIP-15 normal form (lowercase ASCII labels) without running the normalizer, which is about 60x faster for them; other names are normalized as before. -
#727
13ae075Thanks @jxom! - Wrote the ABI parameters behindSignatureErc6492.wrap/unwrap,Executebatch-of-batches encoding and decoding, andCalls.encode/decode/getAbiParametersout as JSON, so using them no longer bundles the human-readable ABI parser. -
#727
13ae075Thanks @jxom! - ImprovedSignatureErc6492.validateperformance: it checks the magic suffix directly instead of catching the errorassertthrows, so an invalid signature returnsfalseabout 100× faster and the function no longer bundles the error classes. -
#720
e4fc3efThanks @jxom! - FixedExecuteinox/erc7821importing the rootoxbarrel, which made importingox/erc7821load every ox module. -
#727
13ae075Thanks @jxom! - WroteSignatureErc8010.suffixParametersout as JSON ABI parameters instead of parsing a human-readable signature at import, so importing anything fromox/erc8010no longer runs or bundles the ABI parser. -
#727
13ae075Thanks @jxom! - ImprovedHex.padLeft,Hex.padRightand sized hex encoding (Hex.fromBytes,Hex.fromString,Hex.fromNumberwithsize) performance: padding up to 32 bytes slices a li...
ox@0.15.0
Minor Changes
-
#726
e238adbThanks @jxom! -Bytes.fromHex(and soRlp.fromHex,Rlp.toHexand every function that reads hex through it) now throws for a value that does not start with0x, including an uppercase0Xprefix, as ox 1.x does, instead of reading its first two characters as the prefix. For example,Rlp.fromHex('abcd')returned0x81cd, andRlp.fromHex('0XAB')returned0x81ab. -
#722
538df0dThanks @jxom! - Breaking: RemovedAbiParameters.encodePacked.encode, a runtime namespace member that keptencodePacked(withAddress.assertand keccak) in every bundle importingAbiParameters.AbiParameters.format, for example, drops from 5.9 kB to about 1.3 kB gzipped.- AbiParameters.encodePacked.encode('uint8', 1) + AbiParameters.encodePacked(['uint8'], [1]) -
#722
538df0dThanks @jxom! - Improved type-checking ofAbiParameters.encodePackedby about 8x (106,000 to 13,000 instantiations for a call) by constrainingtypestoreadonly unknown[]instead of a union that includesPackedAbiType[]. Values are still typed from the types, buttypesno longer autocompletes. -
#722
538df0dThanks @jxom! - FixedHex.toBigInt,Hex.toNumber,Bytes.toBigIntandBytes.toNumberthrowing aSyntaxError(or aNaNrange error) for empty input; empty hex and bytes now read as zero. -
#722
538df0dThanks @jxom! - Improved type-checking ofTypedData.encodeType,hashStruct,hashType,encodeData,encodeFieldandfindTypeDependenciesby about 700x (11,700 to 17 instantiations for a call): theirtypesparameter is a plain record of{ name, type }lists instead of abitype'sTypedData. -
#722
538df0dThanks @jxom! - Breaking (ox/erc4337):UserOperation.toRpcdropped an EntryPoint 0.8authorization; it now writes it aseip7702Auth, the field bundlers read (ERC-7769), andUserOperation.fromRpcreads it back.UserOperation.RpcV08haseip7702Authin place ofauthorization.const rpc: UserOperation.RpcV08 = { // ... - authorization: { address, chainId: '0x1', nonce: '0x0', r, s, yParity: '0x0' }, + eip7702Auth: { address, chainId: '0x1', nonce: '0x0', r, s, yParity: '0x0' }, } -
#722
538df0dThanks @jxom! - Breaking:Value.from(andfromEther,fromGwei) now throwsValue.InvalidDecimalNumberErrorfor input without digits ("",".","-","-."), which returned0nor threw aSyntaxErrorbefore, andValue.InvalidDecimalsErrorfor negative or non-integerdecimals. A negative value without integer digits, such as"-.0", now parses instead of throwing aSyntaxError.
Patch Changes
-
#726
e238adbThanks @jxom! - MadeAbiParameters.decode(and the ABI decoders built on it) faster for short data: the decoder copies words out of data of up to 64 bytes instead of taking views of it, which made V8 move the data to anArrayBufferfirst, andBytes.toBigIntreads a fresh word without one.AbiParameters.decodeof one word runs about 1.6x faster; the output and errors are unchanged. -
#726
e238adbThanks @jxom! - MadeAbiFunction.encodeDatafaster and leaner: it writes the parameters' encoding straight after the selector instead of slicing and copying a0x-prefixed encoding,AbiItem.getSelectorandAbiItem.getSignatureHashno longer allocate a closure and an arguments array per call, and the ABI encoder sizes its list of parameters up front.encodeDataof an(address, uint256)call goes from about 300 to 170 ns and from 1.1 kB to 360 B allocated. -
#726
e238adbThanks @jxom! - MadeAbiParameters.encodebuild its output as one string of hex digits, instead of creating, slicing and concatenating a0xstring per word.AbiParameters.encoderuns about 4x faster with a quarter of the memory, andAbiFunction.encodeDataabout 3x faster; the output and errors are unchanged. -
#722
538df0dThanks @jxom! - WroteAbiError.solidityErrorandAbiError.solidityPanicout as literals with the signature hashesAbiError.fromadds, instead of callingAbiError.fromat module load, so using either no longer bundles the ABI parser and keccak (9.7 kB to 155 B gzipped). -
#726
e238adbThanks @jxom! - MadeAbiItem.fromAbi(andAbiFunction.fromAbi,AbiError.fromAbi,AbiEvent.fromAbi) find a unique match without collecting the matches into an array first. -
#726
e238adbThanks @jxom! - Reduced the type instantiations of the ABI modules' generic signatures. Wide parameters (readonly AbiParameter[]) now resolve toreadonly unknown[]without mapping every ABI type, andAbiItem.fromAbi.Optionsputspreparein each of its branches instead of intersecting it with them.Parameters<typeof AbiFunction.encodeData>drops from about 10,800 instantiations to 500,AbiParameters.encodefrom 10,600 to 300, andAbiFunction.fromAbiandAbiItem.fromAbifrom about 14,600 to 2,100. The types are unchanged. -
#726
e238adbThanks @jxom! - MadeAddress.checksumbuild the checksummed address from character codes instead of splitting, uppercasing and joining an array of characters. -
#722
538df0dThanks @jxom! - MadeAddress.isEqualcheck its inputs without bundlingAddress.checksumand keccak, which makes its bundle about 4x smaller. -
#726
e238adbThanks @jxom! - MadeErrors.BaseErrorset its fields in its constructor instead of declaring them as class fields, which the ES2021 build compiled to anObject.definePropertycall each. Bundles that include an error shrink by about 30 bytes (gzip); errors keep the same properties in the same order. -
#722
538df0dThanks @jxom! - Removed the top-level side effects ofErrors.BaseError(its static initialization block), so bundles no longer keepBaseErrorand a module's unused error classes whenever they import anything from that module.Errors.BaseError.defaultStaticOptionsis now a getter. -
#722
538df0dThanks @jxom! - FixedBase58encoding of empty input and all-zero bytes, andBase58.toHexreturning odd-length hex for values whose first byte is below0x10. -
#726
e238adbThanks @jxom! - MadeBase64.fromBytesencode withUint8Array.prototype.toBase64where the runtime has it (about 5x faster on Node 26), andBase64.toBytesdecode withoutTextEncoderand a regular expression (about 6x faster). Valid input decodes as before. A character outside the Base64 alphabets now decodes as zero bits wherever it appears; before, one at the end of a group of four zeroed the group's three bytes, and a non-ASCII character counted once per UTF-8 byte. -
#726
e238adbThanks @jxom! - MadeBytes.fromNumberwrite its bytes directly instead of encoding the number as hex withHex.fromNumberand decoding that: an unsigned safe integer that fits itssizeis written without BigInt arithmetic (about 2.5x faster with half the memory), and bundles that only encode numbers to bytes are about 30% smaller. A fractionalsizenow throws for numbers as it already did for bigints. `He...
ox@1.8.21
Patch Changes
- #716
dca97e0Thanks @brendanjryan! - FixedSecp256k1.verifyto reject signatures with a highsvalue when verifying against anaddress, matching thepublicKeypath and fixingSignatureEnvelope.verifyinox/tempo.
ox@1.8.20
ox@0.14.71
ox@0.14.70
ox@1.8.19
Patch Changes
-
#693
d7b57e1Thanks @gomesalexandre! - FixedAuthorization.toRpc(and soTransactionRequest.toRpc,Transaction.toRpcand theeip7702AuthofUserOperation.toRpc) to encoderandsasuint256quantities without leading zeros, which geth-based nodes require. -
#690
3f1730cThanks @gomesalexandre! - FixedBinaryStateTree.merkelizehashing a 32-byte zero value as an empty leaf, which did not match EIP-7864. -
#704
9c3280bThanks @jxom! - FixedBlockOverrides.toRpcand the zodBlockOverridesschemas to encodeprevRandaoas a 32-byte hash. -
#703
b31cd5dThanks @jxom! - AddedrequestsHash(EIP-7685) toBlock.Block,Block.toRpcand theBlockzod schemas, so post-Prague blocks no longer lose it on a round trip. -
#712
a1641a2Thanks @HereForTheTechNFT! - FixedSiwe.validateMessageto assume thehttpsscheme when the message omitsscheme, per EIP-4361. -
#705
061ebb0Thanks @jxom! - FixedSiwe.createMessageandSiwe.parseMessageto accept an IP literaldomainwith an optional port, such as[::1]:3000. -
#695
ccbb1afThanks @gomesalexandre! - FixedSiwe.isUrito validate the authority of URIs that have a path, soSiwe.createMessagerejects aurior resource such asuri://[::300.0.0.0]/pthe same way it already rejecteduri://[::300.0.0.0]. -
#705
061ebb0Thanks @jxom! - FixedSiwe.createMessageandSiwe.parseMessageaccepting a comma inscheme. -
#705
061ebb0Thanks @jxom! - FixedSiwe.createMessageto throwInvalidMessageFieldErrorwhenstatementcontains a carriage return,U+2028orU+2029. -
#691
6b94083Thanks @gomesalexandre! - FixedTransaction.toRpcto encode a legacy transaction'svwithout the one-byte limit, so EIP-155 transactions whosevis above 255 (chain IDs from 110) no longer throwHex.IntegerOutOfRangeError. -
#694
f0aaee7Thanks @gomesalexandre! - Fixed theox/zodAuthorization.Signedschemas (and soTransaction.Eip7702) to accept RPCrandsvalues below2**248, which nodes send without leading zeros, decoding them to 32-byte hex likeAuthorization.fromRpcand encoding them back to quantities. -
#701
4c70533Thanks @Iamsohungrynow! - Fixed the zodSignature.Legacyschema to accept EIP-155vvalues above 255.
ox@0.14.69
Patch Changes
-
#706
ad49015Thanks @jxom! - FixedAuthorization.toRpc(and soTransactionRequest.toRpc,Transaction.toRpcand theeip7702AuthofUserOperation.toRpc) to encoderandsasuint256quantities without leading zeros, which geth-based nodes require. -
#706
ad49015Thanks @jxom! - FixedBinaryStateTree.merkelizehashing a 32-byte zero value as an empty leaf, which did not match EIP-7864. -
#706
ad49015Thanks @jxom! - FixedBlockOverrides.toRpcto encodeprevRandaoas a 32-byte hash. -
#706
ad49015Thanks @jxom! - AddedrequestsHash(EIP-7685) toBlock.BlockandBlock.toRpc, so post-Prague blocks no longer lose it on a round trip. -
#709
0cd7550Thanks @jxom! - Accepted SIWE URIs with an authority and empty path. -
#713
c7f9873Thanks @jxom! - FixedSiwe.validateMessageto assume thehttpsscheme when the message omitsscheme, per EIP-4361. -
#709
0cd7550Thanks @jxom! - FixedSiwe.createMessageandSiwe.parseMessageto accept an IP literaldomainwith an optional port, such as[::1]:3000. -
#709
0cd7550Thanks @jxom! - FixedSiwe.isUrito validate the authority of URIs that have a path, soSiwe.createMessagerejects aurior resource such asuri://[::300.0.0.0]/pthe same way it already rejecteduri://[::300.0.0.0]. -
#706
ad49015Thanks @jxom! - FixedSiwe.createMessageandSiwe.parseMessageaccepting a comma inscheme. -
#706
ad49015Thanks @jxom! - FixedSiwe.createMessageto throwInvalidMessageFieldErrorwhenstatementcontains a carriage return,U+2028orU+2029. -
#706
ad49015Thanks @jxom! - FixedTransaction.toRpcto encode a legacy transaction'svwithout the one-byte limit, so EIP-155 transactions whosevis above 255 (chain IDs from 110) no longer throwHex.IntegerOutOfRangeError.
ox@1.8.18
Patch Changes
-
#689
03aeea3Thanks @jxom! - FixedAbiParameters.decodeandAbiEvent.decodeto throwAbiParameters.BytesSizeMismatchErrorforbytesNvalues whose padding bytes are not zero. -
#689
03aeea3Thanks @jxom! - Tightened theAbiParameters.decoderead size limit from 32 bytes per byte of data to two, keeping the allowance of 32 bytes per allowed repeated read (256 KiB by default), so that offsets pointing many times at one region can add at most that fixed allowance to the decoded value rather than up to 32 times the data size. -
#689
03aeea3Thanks @jxom! - FixedAbiParameters.encodeand the ABI encoders built on it to throwHex.InvalidHexValueErrorforbytesvalues containing non-hex characters instead of copying those characters into the output. -
#689
03aeea3Thanks @jxom! - FixedAbiEvent.decode,AbiEvent.decodeLogandAbiEvent.extractLogsto reject indexed value topics longer than 32 bytes (Hex.SizeOverflowError),addresstopics with non-hex characters when decoded withchecksumAddress: false(Address.InvalidAddressError, as with checksumming), andbytesNtopics with non-hex characters (Hex.InvalidHexValueError). -
#689
03aeea3Thanks @jxom! - CachedAbiItem.getSignatureHashand the selectors derived from it per ABI item object, which speeds upAbiEvent.decodeLogand encoding with plain ABI items, so an item mutated after it was first hashed keeps its first hash untilCaches.clearruns. -
#689
03aeea3Thanks @jxom! - AddedCbor.DepthLimitExceededError, whichCbor.decodethrows for values nested more than 1024 levels deep instead of overflowing the stack. -
#675
9d8389cThanks @pucedoteth! - Fixed theCbor.NumberTooLargeErrormessage to state the integer rangeCbor.encodesupports (-4294967296to4294967295) instead ofNumber.MAX_SAFE_INTEGER. -
#683
7421689Thanks @jxom! - FixedAbiParameters.encodePackedto throwHex.InvalidLengthErrorforbyteshex values with an odd number of digits instead of returning misaligned data. -
#697
be605c1Thanks @adraffy! - SwitchedEns.normalizefrom@adraffy/ens-normalizeto@adraffy/ens-normalize.ts. Output and error messages are unchanged. The new package is smaller, and normalizing names with emoji no longer fails on Hermes (React Native). -
#683
7421689Thanks @jxom! - FixedSignatureErc6492.universalSignatureValidatorBytecodeto returnfalsewhenecrecoveryields the zero address, so a malformed signature no longer verifies for the zero address. -
#689
03aeea3Thanks @jxom! - ChangedHex.concatto drop the first two characters of every value, as it already did when given two values, instead of removing the first0xfound anywhere in each value. -
#686
93361ecThanks @jxom! - Improved performance and memory use ofBlobs.from,Blobs.to,AbiParameters.decode,Bytes.toBigInt,TypedDatahashing (type hashes are now cached),Base58encoding and decoding,Hex.validateandBytes.validate(which no longer throw and catch internally), and concurrentVirtualMaster.mineSaltAsyncworker pool setup. -
#689
03aeea3Thanks @jxom! - FixedRpcTransport.HttpErrorto show a string request body as is instead of JSON-encoding it a second time. -
#689
03aeea3Thanks @jxom! - FixedTransaction.fromRpc,TransactionReceipt.fromRpc(including its frame receipts and theox/tempovariant) andFrameReceipt.fromRpcto map only known types and statuses, so that values such asconstructor,toStringor__proto__no longer resolve toObject.prototypemembers. -
#689
03aeea3Thanks @jxom! - FixedRpcTransport.fromHttpto reject withPromise.TimeoutErrorwhen the timeout elapses even if a customfetchFnignores the abort signal. -
#681
9602044Thanks @bdchatham! - FixedZoneId.fromChainIdfor zones of Tempo chains other than mainnet and Moderato, whose chain IDs carry the source chain ID in the high 32 bits and the zone ID in the low 32 bits.
ox@0.14.68
Patch Changes
-
#688
af9a628Thanks @jxom! - FixedAbiParameters.decodeto throwAbiParameters.BytesSizeMismatchErrorwhen abytesNvalue has non-zero padding, andAbiEvent.decodeto throwAbiEvent.TopicSizeMismatchErrorwhen a topic for a statically typed indexed parameter is not 32 bytes. -
#688
af9a628Thanks @jxom! - ChangedAddress.assertandAddress.validateto reject values that are not strings. Before,strict: falsecoerced them to strings, and strict mode threw aTypeErrorfromassert. -
#688
af9a628Thanks @jxom! - FixedCbor.decodeto throwCbor.DepthLimitExceededErrorwhen values nest deeper than 1024 instead of overflowing the stack. -
#684
0911585Thanks @jxom! - ImprovedAddress.checksumto compute the checksum once for every casing of an address and cache it only under the lowercase address, and fixed the cache to refresh an entry on write and to evict an empty-string key. -
#688
af9a628Thanks @jxom! - Improved the performance ofRlpencoding and decoding, transaction envelope serialization,AbiParameters.encode, ABI decoding of fulluint256words,AbiEvent.decode,Json.parse,Hex.fromNumberfor bigints, signedHex.toBigInt, andAddress.validate. -
#684
0911585Thanks @jxom! - FixedAbiParameters.encodePackedto throwHex.InvalidLengthErrorforbyteshex values with an odd number of digits instead of returning misaligned data. -
#684
0911585Thanks @jxom! - FixedSignatureErc6492.universalSignatureValidatorBytecodeto returnfalsewhenecrecoveryields the zero address, so a malformed signature no longer verifies for the zero address. -
#687
d693734Thanks @jxom! - FixedBlobs.totruncating multi-blob payloads when a non-final blob contained a0x80byte. -
#687
d693734Thanks @jxom! - Improved the speed and memory use ofHexandBytesconversions, ABI decoding,Blobs.from,Blobs.to,Base58, andTypedDatahashing, and madeHex.validate,Bytes.validate, andAddress.validatereturnfalsewithout constructing an error. -
#688
af9a628Thanks @jxom! - FixedHex.toNumberandBytes.toNumberto throwHex.IntegerOutOfRangeErrorinstead of returning a rounded number orNaNwhen the value is not a safe integer. -
#688
af9a628Thanks @jxom! - FixedRpcTransport.HttpErrorto show a request body that is already a string without encoding it twice. -
#688
af9a628Thanks @jxom! - FixedJson.parseto keep a string that ends in#__bigintbut is not a bigint as a string instead of throwing. -
#688
af9a628Thanks @jxom! - FixedRlp.toBytesandRlp.toHex, and so everyTxEnvelope*.deserialize, to throwRlp.TrailingBytesErroron bytes after the item,Rlp.ListBoundaryExceededErrorwhen an item overruns its list, andRlp.DepthLimitExceededErrorwhen lists nest deeper than 1024.TxEnvelopeTempo.deserializestill accepts a signed transaction followed bysender ‖ 0xfeefeefeefee, as passed to a fee payer. -
#688
af9a628Thanks @jxom! - FixedSiwe.generateNonceto draw every nonce fromcrypto.getRandomValuesinstead of a sliding window over aMath.randombuffer that made consecutive nonces share 95 of 96 characters. -
#688
af9a628Thanks @jxom! - FixedTransaction,TransactionReceipt,TransactionRequestandTypedDatato look up untrusted type names such as"constructor"only among their own keys, andTransactionReceiptandFrameReceiptto do the same for statuses, instead of the object prototype. -
#682
4c0eb9fThanks @bdchatham! - FixedZoneId.fromChainIdfor zones of Tempo chains other than mainnet and Moderato, whose chain IDs carry the source chain ID in the high 32 bits and the zone ID in the low 32 bits.