Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions config/gasCost.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ type CryptoAPICost struct {
VerifySecp256r1 uint64
VerifyBLSSignatureShare uint64
VerifyBLSMultiSig uint64
VerifyPlonkSig uint64
VerifyGroth16Sig uint64
MapToCurveECC uint64
PairingCheckECC uint64
MultiExpECC uint64
}

// ManagedBufferAPICost defines the managed buffer operations gas cost config structure
Expand Down
5 changes: 5 additions & 0 deletions config/gasSchedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,11 @@ func FillGasMapCryptoAPICosts(value uint64) map[string]uint64 {
gasMap["VerifySecp256r1"] = value
gasMap["VerifyBLSSignatureShare"] = value
gasMap["VerifyBLSMultiSig"] = value
gasMap["VerifyPlonkSig"] = value
gasMap["VerifyGroth16Sig"] = value
gasMap["MapToCurveECC"] = value
gasMap["PairingCheckECC"] = value
gasMap["MultiExpECC"] = value

return gasMap
}
Expand Down
11 changes: 11 additions & 0 deletions executor/vmHooks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions executor/wrapper/wrapperVMHooks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 21 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,53 @@ require (
github.com/awalterschulze/gographviz v2.0.3+incompatible
github.com/btcsuite/btcd/btcec/v2 v2.3.2
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
github.com/consensys/gnark v0.12.0
github.com/consensys/gnark-crypto v0.17.0
github.com/gogo/protobuf v1.3.2
github.com/mitchellh/mapstructure v1.5.0
github.com/multiversx/mx-chain-core-go v1.4.0
github.com/multiversx/mx-chain-crypto-go v1.3.0
github.com/multiversx/mx-chain-crypto-go v1.3.1-0.20250821174823-216aa95326f0
github.com/multiversx/mx-chain-logger-go v1.1.0
github.com/multiversx/mx-chain-scenario-go v1.6.0
github.com/multiversx/mx-chain-storage-go v1.1.0
github.com/multiversx/mx-chain-vm-common-go v1.6.0
github.com/multiversx/mx-components-big-int v1.1.0
github.com/pelletier/go-toml v1.9.3
github.com/stretchr/testify v1.8.1
github.com/stretchr/testify v1.10.0
github.com/urfave/cli/v2 v2.27.1
golang.org/x/crypto v0.3.0
golang.org/x/crypto v0.33.0
)

require (
github.com/TwiN/go-color v1.1.0 // indirect
github.com/bits-and-blooms/bitset v1.20.0 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/btcsuite/btcd/btcutil v1.1.3 // indirect
github.com/consensys/bavard v0.1.29 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/denisbrodbeck/machineid v1.0.1 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 // indirect
github.com/hashicorp/golang-lru v0.6.0 // indirect
github.com/herumi/bls-go-binary v1.28.2 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/ingonyama-zk/icicle/v3 v3.1.1-0.20241118092657-fccdb2f0921b // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.8.0 // indirect
github.com/ronanh/intcomp v1.1.0 // indirect
github.com/rs/zerolog v1.33.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
golang.org/x/sys v0.2.0 // indirect
golang.org/x/sync v0.11.0 // indirect
golang.org/x/sys v0.30.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)
Loading
Loading