Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Merge develop -> master for Truffle 4 release #17

Merged
merged 48 commits into from
Oct 31, 2017
Merged

Merge develop -> master for Truffle 4 release #17

merged 48 commits into from
Oct 31, 2017

Conversation

gnidan
Copy link
Contributor

@gnidan gnidan commented Oct 31, 2017

tcoulter and others added 30 commits May 11, 2017 15:27
- Add runtimeBytecode -> deployedBytecode normalization
- Ensure deployedBytecode starts with 0x in generated output
- Use separate methods for different sources (solc, abstraction, regular opts)

- Make `networks`, `address`, etc. (properties related to instance or
  truffle specifically) explicitly not a part of normalization process

- Move code around in `generateObject` to ensure truffle-option copying
  happens (now that it's gone from normalize)

- Switch to camelCase for fields in schema

- Add initial test for solc standard output

- Remove `x-` check for `normalizeInput`, as that's no longer part of that.
- Use property compatibility / data transformation mapping to identify
  where data should come from in a uniform manner.
- Drop notion of "additional sources" - define properties to list
  sources explicitly including their canonical name, or default to
  source only canonical name when `"sources":` is omitted

- Allow string values for sources in addition to functions. For
  string values, assume possible chain operation (e.g. "evm.bytecode.object")
  and split/chain accordingly
- Change `objectable` (whatever that means) to `objDirty`
- Move `properties` to the top and give it a docstring
- Move getter/chain combinators lower, also document
- Rename schema_version import to pkgVersion
- Inline copyCustomOptions (not needed separately)
- Eliminate contractName default
Formalize schema, standardize on normalization process, and improve solc support
gnidan and others added 18 commits May 20, 2017 13:29
- Pull out name/type as own definitions.
- Build regex for valid ABI types
- Add title
- Ensure ABI items don't match more than one event/function schema
- ABI names can be blank in some cases
- Bytecode should not stipulate anything about the 38 characters after `__`
  in refs
Ignore yarn.lock _for now_ until we standardize our development process
around it, or choose a different method of managing our packages and
repositories.
Add schema docs for contract/network objects
Define schemas for ABI and Network Objects
@gnidan gnidan merged commit fdf589b into master Oct 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants