Skip to content

Commit

Permalink
Updated doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenomega committed Mar 21, 2023
1 parent 837b88b commit 56caf88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion compilation/abiutils/solidity_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import (
coreTypes "github.com/ethereum/go-ethereum/core/types"
)

// UnpackEventAndValues takes a given contract ABI, and VM return values, and
// UnpackEventAndValues takes a given contract ABI, and an emitted event log from VM, and attempts to find an
// event definition for the log, and unpack its input values.
// Returns the event definition and unpacked event input values, or nil for both if an event definition could not
// be resolved, or values could not be unpacked.
func UnpackEventAndValues(contractAbi *abi.ABI, eventLog *coreTypes.Log) (*abi.Event, []any) {
// If no ABI was given, no event data can be extracted.
if contractAbi == nil {
Expand Down
1 change: 0 additions & 1 deletion fuzzing/test_case_property_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ func (t *PropertyTestCaseProvider) isPropertyTest(method abi.Method) bool {

// checkPropertyTestFailed executes a given property test method to see if it returns a failed status. This is used to
// facilitate testing of property test methods after every call the Fuzzer makes when testing call sequences.
// The property test is executed over the state indicating by the provided state root hash.
// A boolean indicating whether an execution trace should be captured and returned is provided to the method.
// Returns a boolean indicating if the property test failed, an optional execution trace for the property test call,
// or an error if one occurred.
Expand Down

0 comments on commit 56caf88

Please sign in to comment.