How to use the @truffle/compile-solidity/profiler.updated function in @truffle/compile-solidity

To help you get started, we’ve selected a few @truffle/compile-solidity examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github trufflesuite / truffle / packages / compile-vyper / index.js View on Github external
compile.necessary = function(options, callback) {
  options.logger = options.logger || console;

  Profiler.updated(options, function(err, updated) {
    if (err) return callback(err);

    if (updated.length === 0 && options.quiet !== true) {
      return callback(null, [], {});
    }

    options.paths = updated;
    compile.with_dependencies(options, callback);
  });
};

@truffle/compile-solidity

Compiler helper and artifact manager for Solidity files

MIT
Latest version published 1 year ago

Package Health Score

53 / 100
Full package analysis