diff --git a/go.mod b/go.mod index f9bac2daa8..d46a57a17e 100644 --- a/go.mod +++ b/go.mod @@ -25,7 +25,10 @@ require ( github.com/ipld/go-ipld-prime v0.21.0 github.com/ipld/go-ipld-prime/storage/bsadapter v0.0.0-20240322071758-198d7dba8fb8 github.com/jbenet/goprocess v0.1.4 - github.com/lens-vm/lens/host-go v0.0.0-20231127204031-8d858ed2926c + github.com/lens-vm/lens/host-go v0.0.0-20240605143729-3a75ed092c20 + github.com/lens-vm/lens/host-go/runtimes/wasmer v0.0.0-20240605143729-3a75ed092c20 + github.com/lens-vm/lens/host-go/runtimes/wasmtime v0.0.0-20240605143729-3a75ed092c20 + github.com/lens-vm/lens/host-go/runtimes/wazero v0.0.0-20240605143729-3a75ed092c20 github.com/lestrrat-go/jwx/v2 v2.0.21 github.com/libp2p/go-libp2p v0.33.2 github.com/libp2p/go-libp2p-gostream v0.6.0 @@ -85,7 +88,7 @@ require ( github.com/btcsuite/btcd v0.22.1 // indirect github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce // indirect - github.com/bytecodealliance/wasmtime-go/v15 v15.0.0 // indirect + github.com/bytecodealliance/wasmtime-go/v21 v21.0.0 // indirect github.com/cenkalti/backoff/v4 v4.2.1 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect @@ -199,6 +202,7 @@ require ( github.com/koron/go-ssdp v0.0.4 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect + github.com/lens-vm/lens/host-go/runtimes/js v0.0.0-20240605143428-27fc4984eb43 // indirect github.com/lestrrat-go/blackmagic v1.0.2 // indirect github.com/lestrrat-go/httpcc v1.0.1 // indirect github.com/lestrrat-go/httprc v1.0.5 // indirect @@ -282,7 +286,7 @@ require ( github.com/tendermint/go-amino v0.16.0 // indirect github.com/tendermint/tm-db v0.6.7 // indirect github.com/teserakt-io/golang-ed25519 v0.0.0-20210104091850-3888c087a4c8 // indirect - github.com/tetratelabs/wazero v1.5.0 // indirect + github.com/tetratelabs/wazero v1.7.2 // indirect github.com/textileio/go-log/v2 v2.1.3-gke-2 // indirect github.com/ugorji/go/codec v1.2.12 // indirect github.com/wasmerio/wasmer-go v1.0.4 // indirect diff --git a/go.sum b/go.sum index 3203ff8b9c..e118482547 100644 --- a/go.sum +++ b/go.sum @@ -123,8 +123,8 @@ github.com/bufbuild/protocompile v0.6.0/go.mod h1:YNP35qEYoYGme7QMtz5SBCoN4kL4g1 github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= github.com/bxcodec/faker v2.0.1+incompatible h1:P0KUpUw5w6WJXwrPfv35oc91i4d8nf40Nwln+M/+faA= github.com/bxcodec/faker v2.0.1+incompatible/go.mod h1:BNzfpVdTwnFJ6GtfYTcQu6l6rHShT+veBxNCnjCx5XM= -github.com/bytecodealliance/wasmtime-go/v15 v15.0.0 h1:4R2MpSPPbtSxqdsOTvsMn1pnwdEhzbDGMao6LUUSLv4= -github.com/bytecodealliance/wasmtime-go/v15 v15.0.0/go.mod h1:m6vB/SsM+pnJkVHmO1wzHYUeYtciltTKuxuvkR8pYcY= +github.com/bytecodealliance/wasmtime-go/v21 v21.0.0 h1:d2m3R7TpNpOGuIi2PTC9w2nUY/A2IJinHOZTL76jyhg= +github.com/bytecodealliance/wasmtime-go/v21 v21.0.0/go.mod h1:o/HNPe7TdXkqbrkmU9YgHBFXU9OIF1FVPlqhZwC1tyk= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= @@ -695,8 +695,16 @@ github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/lens-vm/lens/host-go v0.0.0-20231127204031-8d858ed2926c h1:bG+mr4SqbYRU69L6CSvHDsKbRg5Q9vaN2T5g7qcrPdQ= -github.com/lens-vm/lens/host-go v0.0.0-20231127204031-8d858ed2926c/go.mod h1:a4edl+KcOVk1Nj3EjG77htqg2/0Mmy3bSG0kl+FWVqQ= +github.com/lens-vm/lens/host-go v0.0.0-20240605143729-3a75ed092c20 h1:fHXKgy7b/pYjQ7v7BzCIa4KkgEJZ7OCUg4CGUyXXsVc= +github.com/lens-vm/lens/host-go v0.0.0-20240605143729-3a75ed092c20/go.mod h1:FfCg1zVQb5nZ83qd+r0OnxkQZ+n4xvVBQ5CitS1b8Jo= +github.com/lens-vm/lens/host-go/runtimes/js v0.0.0-20240605143428-27fc4984eb43 h1:qZ84yDJOlNj6qATFezCPz54f+/tjPW06AoVmQ31yP1o= +github.com/lens-vm/lens/host-go/runtimes/js v0.0.0-20240605143428-27fc4984eb43/go.mod h1:a9CuhqJM+1kTaqYtft0mXa0rFbRWWiTbzLo4Qmnqy1w= +github.com/lens-vm/lens/host-go/runtimes/wasmer v0.0.0-20240605143729-3a75ed092c20 h1:uCa7S9ic89xpua7art8a+W1vurNZiJ4ilZbXbyWkiv8= +github.com/lens-vm/lens/host-go/runtimes/wasmer v0.0.0-20240605143729-3a75ed092c20/go.mod h1:36ZSWyP9rOIqUipUZSJWAtSY81PPEgYLLZ1I0m7rrTA= +github.com/lens-vm/lens/host-go/runtimes/wasmtime v0.0.0-20240605143729-3a75ed092c20 h1:FvfTyZj1Bw64N4kub4pL7laXjnSxwaycTkuorVnOlwM= +github.com/lens-vm/lens/host-go/runtimes/wasmtime v0.0.0-20240605143729-3a75ed092c20/go.mod h1:41W615633DwnkzQFXmOneLP0B0HtwogeX9uykW6IAls= +github.com/lens-vm/lens/host-go/runtimes/wazero v0.0.0-20240605143729-3a75ed092c20 h1:HOOE3BUTx0YIrMmtMogLjvwrrIc3FEJglY5UJRyneHU= +github.com/lens-vm/lens/host-go/runtimes/wazero v0.0.0-20240605143729-3a75ed092c20/go.mod h1:ZomsdFcVn243ZO5VhWC/biqYeNciMvqfT6ZPR+7rk8w= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= @@ -1139,8 +1147,8 @@ github.com/tendermint/tm-db v0.6.7 h1:fE00Cbl0jayAoqlExN6oyQJ7fR/ZtoVOmvPJ//+shu github.com/tendermint/tm-db v0.6.7/go.mod h1:byQDzFkZV1syXr/ReXS808NxA2xvyuuVgXOJ/088L6I= github.com/teserakt-io/golang-ed25519 v0.0.0-20210104091850-3888c087a4c8 h1:RBkacARv7qY5laaXGlF4wFB/tk5rnthhPb8oIBGoagY= github.com/teserakt-io/golang-ed25519 v0.0.0-20210104091850-3888c087a4c8/go.mod h1:9PdLyPiZIiW3UopXyRnPYyjUXSpiQNHRLu8fOsR3o8M= -github.com/tetratelabs/wazero v1.5.0 h1:Yz3fZHivfDiZFUXnWMPUoiW7s8tC1sjdBtlJn08qYa0= -github.com/tetratelabs/wazero v1.5.0/go.mod h1:0U0G41+ochRKoPKCJlh0jMg1CHkyfK8kDqiirMmKY8A= +github.com/tetratelabs/wazero v1.7.2 h1:1+z5nXJNwMLPAWaTePFi49SSTL0IMx/i3Fg8Yc25GDc= +github.com/tetratelabs/wazero v1.7.2/go.mod h1:ytl6Zuh20R/eROuyDaGPkp82O9C/DJfXAwJfQ3X6/7Y= github.com/textileio/go-datastore-extensions v1.0.1 h1:qIJGqJaigQ1wD4TdwS/hf73u0HChhXvvUSJuxBEKS+c= github.com/textileio/go-datastore-extensions v1.0.1/go.mod h1:Pzj9FDRkb55910dr/FX8M7WywvnS26gBgEDez1ZBuLE= github.com/textileio/go-ds-badger3 v0.1.0 h1:q0kBuBmAcRUR3ClMSYlyw0224XeuzjjGinU53Qz1uXI=