warp-contracts / warp

An implementation of the Arweave SmartWeave smart contracts protocol.
MIT License
159 stars 44 forks source link

feat: fetch options plugin #255

Closed asiaziola closed 1 year ago

asiaziola commented 2 years ago

solves https://github.com/warp-contracts/warp/issues/245

asiaziola commented 2 years ago

classes where fetch has not been wrapped as it seems to not make much sense (or warp instance is not yet available): Testing.ts, WarpGatewayContractDefinitionLoader.ts, WarpGatewayInteractionsLoader, smartweave-global.ts, ArweaveWrapper.ts. Just letting know in case any of these would need the new plugin.

ppedziwiatr commented 2 years ago

WarpGatewayContractDefinitionLoader.ts, WarpGatewayInteractionsLoader

imho it would make sense to add a wrapper here

ppedziwiatr commented 2 years ago

hmm, I would rebase, clean-up and merge this into main..hate those long-lasting PRs...

ppedziwiatr commented 1 year ago

@asiaziola , how about a rebase and merge? or maybe ask Akord if they've had some time to test the new features...